File tree Expand file tree Collapse file tree 3 files changed +37997
-29837
lines changed
platforms/group-charter-manager Expand file tree Collapse file tree 3 files changed +37997
-29837
lines changed Original file line number Diff line number Diff line change 22 "name" : " group-charter-manager" ,
33 "version" : " 0.1.0" ,
44 "private" : true ,
5- "scripts" : {
6- "dev" : " next dev --turbopack " ,
7- "build" : " next build" ,
8- "start" : " next start" ,
9- "lint" : " next lint"
10- },
5+ "scripts" : {
6+ "dev" : " next dev" ,
7+ "build" : " next build" ,
8+ "start" : " next start" ,
9+ "lint" : " next lint"
10+ },
1111 "dependencies" : {
1212 "@hookform/resolvers" : " ^5.2.1" ,
1313 "@milkdown/core" : " ^7.15.2" ,
Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
3+ import { useEffect } from 'react' ;
4+ import { useRouter } from 'next/navigation' ;
5+
6+ export default function LoginPage ( ) {
7+ const router = useRouter ( ) ;
8+
9+ useEffect ( ( ) => {
10+ router . replace ( '/' ) ;
11+ } , [ router ] ) ;
12+
13+ return null ;
14+ }
15+
You can’t perform that action at this time.
0 commit comments