mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
fix: format ensure-workspace.tsx for Biome compliance
Single-line the isGuestPublicAppPage assignment per Biome formatting rules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
586571e38e
commit
bdd02aa874
1 changed files with 1 additions and 2 deletions
|
|
@ -29,8 +29,7 @@ export function EnsureWorkspace({ children }: { children: React.ReactNode }) {
|
|||
// While the session is still pending we can't tell guest from logged-in, so
|
||||
// rendering the public page optimistically here causes a logged-in user to
|
||||
// see public content → loading shell → authenticated content (a double flash).
|
||||
const isGuestPublicAppPage =
|
||||
isPublicAppPage && !session && !isSessionPending
|
||||
const isGuestPublicAppPage = isPublicAppPage && !session && !isSessionPending
|
||||
const isOnboarding = pathname.startsWith("/onboarding")
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue