mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(SnackbarProvider): remove unused varable
This commit is contained in:
1 parent
911d5b8eba
commit
276a283135
1 file changed
+1
-16
@@ -1,21 +1,6 @@
|
|||||||
import React, { createContext, useState, useEffect, useRef, useMemo, useCallback } from 'react';
|
import React, { createContext, useState, useEffect, useRef } from 'react';
|
||||||
import Alert from './Alert';
|
|
||||||
import { makeStyles } from '@material-ui/core/styles';
|
|
||||||
import { useTranslation } from 'react-i18next';
|
|
||||||
import { IAlert } from '../hooks/useSnackbar';
|
import { IAlert } from '../hooks/useSnackbar';
|
||||||
|
|
||||||
const useStyles = makeStyles(() => ({
|
|
||||||
alert: {
|
|
||||||
marginTop: '-100px',
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center'
|
|
||||||
},
|
|
||||||
hidden: {
|
|
||||||
display: 'none'
|
|
||||||
}
|
|
||||||
}))
|
|
||||||
|
|
||||||
|
|
||||||
export const SnackbarContext = createContext({ addAlert: (a: IAlert) => {} });
|
export const SnackbarContext = createContext({ addAlert: (a: IAlert) => {} });
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user