feat: start edit user page
This commit is contained in:
parent
a67ecbf51d
commit
77dea0c5ed
5 changed files with 326 additions and 0 deletions
3
frontend/pages/edit/member/[member]/index.tsx
Normal file
3
frontend/pages/edit/member/[member]/index.tsx
Normal file
|
@ -0,0 +1,3 @@
|
|||
export default function EditMember() {
|
||||
return <>Editing a member!</>;
|
||||
}
|
12
frontend/pages/edit/member/index.tsx
Normal file
12
frontend/pages/edit/member/index.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { useRouter } from "next/router";
|
||||
import { useEffect } from "react";
|
||||
import Loading from "../../../components/Loading";
|
||||
|
||||
export default function Redirect() {
|
||||
const router = useRouter();
|
||||
useEffect(() => {
|
||||
router.push("/")
|
||||
}, [])
|
||||
|
||||
return <Loading />;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue