a tool for shared writing and social publishing

add theme provider to un-logged in for default theme

+6 -1
+6 -1
app/(home-pages)/layout.tsx
··· 10 10 children: React.ReactNode; 11 11 }) { 12 12 let identityData = await getIdentityData(); 13 - if (!identityData?.home_leaflet) return <>{props.children}</>; 13 + if (!identityData?.home_leaflet) 14 + return ( 15 + <> 16 + <ThemeProvider entityID={""}>{props.children}</ThemeProvider> 17 + </> 18 + ); 14 19 let facts = 15 20 (identityData?.home_leaflet?.permission_token_rights[0].entity_sets?.entities.flatMap( 16 21 (e) => e.facts,