({ children }: { children: React.ReactNode })
| 14 | }) |
| 15 | |
| 16 | function RootDocument({ children }: { children: React.ReactNode }) { |
| 17 | return ( |
| 18 | <html lang="en"> |
| 19 | <head> |
| 20 | <HeadContent /> |
| 21 | </head> |
| 22 | <body style={{ margin: 0, fontFamily: 'system-ui, sans-serif' }}> |
| 23 | {children} |
| 24 | <TanStackDevtools |
| 25 | eventBusConfig={{ |
| 26 | connectToServerBus: true, |
| 27 | }} |
| 28 | config={{ position: 'bottom-right' }} |
| 29 | plugins={[ |
| 30 | { |
| 31 | id: 'server-events', |
| 32 | name: 'Server Events', |
| 33 | render: <ServerEventsPanel />, |
| 34 | }, |
| 35 | ]} |
| 36 | /> |
| 37 | <Scripts /> |
| 38 | </body> |
| 39 | </html> |
| 40 | ) |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected