mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript compiling and fixing linting issues
This commit is contained in:
1 parent
b1babd88c2
commit
3273d192c9
49 files changed
+271
-110
No files matched your search
@@ -21,8 +21,8 @@ export default function AlertBar() {
|
||||
const { t } = useTranslation();
|
||||
const { updateProfileSuccessful, setUpdateProfileSuccessful } = useProfile();
|
||||
const { createTweetSuccessful, setCreateTweetSuccessful } = useTweetStatus();
|
||||
const [severity, setSeverity] = useState(null);
|
||||
const [open, setOpen] = useState(null);
|
||||
const [severity, setSeverity] = useState<string | null>(null);
|
||||
const [open, setOpen] = useState(false);
|
||||
const [message, setMessage] = useState(null);
|
||||
|
||||
const handleClose = () => {
|
||||
@@ -49,7 +49,7 @@ export default function AlertBar() {
|
||||
setSeverity("error");
|
||||
setMessage(t("APPS_TWITTER_EDIT_PROFILE_FAILURE"));
|
||||
}
|
||||
}, [updateProfileSuccessful, createTweetSuccessful]);
|
||||
}, [updateProfileSuccessful, createTweetSuccessful, t]);
|
||||
|
||||
return (
|
||||
<Snackbar
|
||||
|
||||
Reference in new issue
Block a user