Browse Source

Update index.tsx

main
Steve Ruiz 3 years ago
parent
commit
dce466f6fd
1 changed files with 2 additions and 9 deletions
  1. 2
    9
      www/pages/r/index.tsx

+ 2
- 9
www/pages/r/index.tsx View File

2
 import type { GetServerSideProps } from 'next'
2
 import type { GetServerSideProps } from 'next'
3
 import Head from 'next/head'
3
 import Head from 'next/head'
4
 
4
 
5
-interface RoomProps {
6
-  id?: string
7
-}
8
-
9
-export default function RandomRoomPage({ id }: RoomProps): JSX.Element {
5
+export default function RandomRoomPage(): JSX.Element {
10
   return (
6
   return (
11
     <>
7
     <>
12
       <Head>
8
       <Head>
13
         <title>tldraw</title>
9
         <title>tldraw</title>
14
       </Head>
10
       </Head>
15
-      <div>Should have routed to room: {id}</div>
16
     </>
11
     </>
17
   )
12
   )
18
 }
13
 }
27
 
22
 
28
   // Return id (though it shouldn't matter)
23
   // Return id (though it shouldn't matter)
29
   return {
24
   return {
30
-    props: {
31
-      id,
32
-    },
25
+    props: {},
33
   }
26
   }
34
 }
27
 }

Loading…
Cancel
Save