Files
TheGame/packages/web/pages/me.tsx
2024-08-13 19:04:31 -04:00

18 lines
450 B
TypeScript

import { InferGetStaticPropsType } from 'next';
import { ConnectedPage } from '#components/ConnectedPage';
import { PlayerPage } from '#pages/player/[username]';
export const getStaticProps = async () => ({
props: {},
revalidate: 1,
});
type Props = InferGetStaticPropsType<typeof getStaticProps>;
const CurrentUserPage: React.FC<Props> = () => (
<ConnectedPage page={PlayerPage} label="your profile" />
);
export default CurrentUserPage;