1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

add experimental room

This commit is contained in:
Fedor Katurov 2023-10-26 18:38:33 +06:00
parent 0605ceb263
commit 39eb97b777
7 changed files with 309 additions and 7 deletions

15
src/pages/room/index.tsx Normal file
View file

@ -0,0 +1,15 @@
import React, { FC } from 'react';
import { InferGetStaticPropsType } from 'next';
import { RouteComponentProps } from 'react-router';
import { RoomLayout } from '~/layouts/RoomLayout';
import { getStaticProps } from '../node/[id]';
type Props = RouteComponentProps<{ id: string }> &
InferGetStaticPropsType<typeof getStaticProps>;
const RoomPage: FC<Props> = () => <RoomLayout />;
export default RoomPage;