refactor: extract Button to component, reformat all files with Prettier

This commit is contained in:
Sam 2022-11-18 14:11:52 +01:00
parent 1080d8a0cd
commit bfdaafeb0a
15 changed files with 504 additions and 335 deletions

View file

@ -1,3 +1,3 @@
export default function EditMember() {
return <>Editing a member!</>;
}
return <>Editing a member!</>;
}

View file

@ -3,10 +3,10 @@ import { useEffect } from "react";
import Loading from "../../../components/Loading";
export default function Redirect() {
const router = useRouter();
useEffect(() => {
router.push("/")
}, [])
const router = useRouter();
useEffect(() => {
router.push("/");
}, []);
return <Loading />;
}
return <Loading />;
}