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