File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { ThreadId } from "@t3tools/contracts" ;
22import {
3+ HeadContent ,
34 Outlet ,
45 createRootRouteWithContext ,
56 type ErrorComponentProps ,
@@ -27,26 +28,30 @@ export const Route = createRootRouteWithContext<{
2728 component : RootRouteView ,
2829 errorComponent : RootRouteErrorView ,
2930 head : ( ) => ( {
30- meta : [ { name : " title" , content : APP_DISPLAY_NAME } ] ,
31+ meta : [ { title : APP_DISPLAY_NAME } ] ,
3132 } ) ,
3233} ) ;
3334
3435function RootRouteView ( ) {
3536 if ( ! readNativeApi ( ) ) {
3637 return (
37- < div className = "flex h-screen flex-col bg-background text-foreground" >
38- < div className = "flex flex-1 items-center justify-center" >
39- < p className = "text-sm text-muted-foreground" >
40- Connecting to { APP_DISPLAY_NAME } server...
41- </ p >
38+ < >
39+ < HeadContent />
40+ < div className = "flex h-screen flex-col bg-background text-foreground" >
41+ < div className = "flex flex-1 items-center justify-center" >
42+ < p className = "text-sm text-muted-foreground" >
43+ Connecting to { APP_DISPLAY_NAME } server...
44+ </ p >
45+ </ div >
4246 </ div >
43- </ div >
47+ </ >
4448 ) ;
4549 }
4650
4751 return (
4852 < ToastProvider >
4953 < AnchoredToastProvider >
54+ < HeadContent />
5055 < EventRouter />
5156 < DesktopProjectBootstrap />
5257 < Outlet />
You can’t perform that action at this time.
0 commit comments