feat: generate page
This commit is contained in:
parent
811273ea59
commit
9b723448de
1 changed files with 17 additions and 0 deletions
17
apps/accounts/src/pages/generate/index.tsx
Normal file
17
apps/accounts/src/pages/generate/index.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
import GeneratePage from '@ente/accounts/pages/generate';
|
||||
import { APPS } from '@ente/shared/apps/constants';
|
||||
import { useRouter } from 'next/router';
|
||||
import { AppContext } from 'pages/_app';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export default function Generate() {
|
||||
const appContext = useContext(AppContext);
|
||||
const router = useRouter();
|
||||
return (
|
||||
<GeneratePage
|
||||
appContext={appContext}
|
||||
router={router}
|
||||
appName={APPS.ACCOUNTS}
|
||||
/>
|
||||
);
|
||||
}
|
Loading…
Add table
Reference in a new issue