mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
fix(SnackbarProvider): remove unused varable
This commit is contained in:
1 parent
d9b26814dd
commit
911d5b8eba
1 file changed
-2
@@ -20,8 +20,6 @@ const useStyles = makeStyles(() => ({
|
|||||||
export const SnackbarContext = createContext({ addAlert: (a: IAlert) => {} });
|
export const SnackbarContext = createContext({ addAlert: (a: IAlert) => {} });
|
||||||
|
|
||||||
function SnackbarProvider({ children }) {
|
function SnackbarProvider({ children }) {
|
||||||
const classes = useStyles();
|
|
||||||
const { t } = useTranslation()
|
|
||||||
const [alert, setAlert] = useState(null);
|
const [alert, setAlert] = useState(null);
|
||||||
const timer = useRef(null);
|
const timer = useRef(null);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user