diff --git a/tanstack-start/app/routes/__root.tsx b/tanstack-start/app/routes/__root.tsx index 347ea99..99ada68 100644 --- a/tanstack-start/app/routes/__root.tsx +++ b/tanstack-start/app/routes/__root.tsx @@ -32,12 +32,11 @@ export const Route = createRootRoute({ ), loaderDeps: ({search: {lastLiveEventId}}) => ({lastLiveEventId}), loader: ({deps}) => getTheme({data: deps}), - head: ({loaderData}) => ({ + head: () => ({ meta: [ {charSet: 'utf-8'}, {name: 'viewport', content: 'width=device-width, initial-scale=1'}, {title: 'TanStack Start Starter'}, - {name: 'theme-color', content: loaderData?.data?.background || '#000'}, ], links: [ {rel: 'stylesheet', href: appCss}, @@ -70,6 +69,8 @@ function RootDocument({children}: Readonly<{children: ReactNode}>) { > + {/* iOS Safari struggles with picking up on changes to this tag */} + {children}