removed unused;
This commit is contained in:
parent
0e2a963e81
commit
5b7d99f9d6
|
@ -41,7 +41,6 @@ const useStyles = createStyles((theme) => ({
|
|||
|
||||
const ErrorNotFound = () => {
|
||||
const { classes } = useStyles();
|
||||
const config = useConfig();
|
||||
return (
|
||||
<>
|
||||
<Meta title="Not found" />
|
||||
|
|
|
@ -15,7 +15,6 @@ import useConfig from "../../hooks/config.hook";
|
|||
const webroot = process.env.WEBROOT || "";
|
||||
|
||||
const Intro = () => {
|
||||
const config = useConfig();
|
||||
return (
|
||||
<>
|
||||
<Meta title="Intro" />
|
||||
|
|
|
@ -64,7 +64,6 @@ const ResetPassword = () => {
|
|||
),
|
||||
});
|
||||
|
||||
const config = useConfig();
|
||||
return (
|
||||
<Container size={460} my={30}>
|
||||
<Title order={2} weight={900} align="center">
|
||||
|
|
|
@ -76,7 +76,6 @@ export default function Home() {
|
|||
const { classes } = useStyles();
|
||||
const { refreshUser } = useUser();
|
||||
const router = useRouter();
|
||||
const config = useConfig();
|
||||
|
||||
// If the user is already logged in, redirect to the upload page
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Reference in New Issue