fix(SnackbarProvider): remove unused varable

This commit is contained in:
Christopher committed 2021-02-13 18:19:48 +01:00
1 parent d9b26814dd
commit 911d5b8eba
1 file changed
-2
@@ -20,8 +20,6 @@ const useStyles = makeStyles(() => ({
export const SnackbarContext = createContext({ addAlert: (a: IAlert) => {} });
function SnackbarProvider({ children }) {
const classes = useStyles();
const { t } = useTranslation()
const [alert, setAlert] = useState(null);
const timer = useRef(null);