diff --git a/app/layout-content.tsx b/app/layout-content.tsx index 12a52b9..3674d3c 100644 --- a/app/layout-content.tsx +++ b/app/layout-content.tsx @@ -42,7 +42,7 @@ export default function LayoutContent({ children }: { children: React.ReactNode
+ return } if (!user) { @@ -91,7 +91,7 @@ export default function HomePage() { // * Wait for organization context before rendering SiteList to avoid "Organization Required" flash if (user && !user.org_id) { - return + return } return ( diff --git a/app/share/[id]/page.tsx b/app/share/[id]/page.tsx index 60314ae..f004a77 100644 --- a/app/share/[id]/page.tsx +++ b/app/share/[id]/page.tsx @@ -97,7 +97,7 @@ export default function PublicDashboardPage() { } if (loading && !data && !isPasswordProtected) { - return + return } if (isPasswordProtected && !data) { diff --git a/app/signup/page.tsx b/app/signup/page.tsx index 6d82ec2..53646ea 100644 --- a/app/signup/page.tsx +++ b/app/signup/page.tsx @@ -12,7 +12,7 @@ export default function SignupPage() { return ( ) diff --git a/app/sites/[id]/page.tsx b/app/sites/[id]/page.tsx index bf74656..edf6506 100644 --- a/app/sites/[id]/page.tsx +++ b/app/sites/[id]/page.tsx @@ -137,7 +137,7 @@ export default function SiteDashboardPage() { } if (loading) { - return + return } if (!site) { diff --git a/app/sites/[id]/realtime/page.tsx b/app/sites/[id]/realtime/page.tsx index c81b073..4a51523 100644 --- a/app/sites/[id]/realtime/page.tsx +++ b/app/sites/[id]/realtime/page.tsx @@ -88,7 +88,7 @@ export default function RealtimePage() { } } - if (loading) return + if (loading) return if (!site) return
Site not found
return ( diff --git a/app/sites/[id]/replays/[replayId]/page.tsx b/app/sites/[id]/replays/[replayId]/page.tsx index 2827e7e..21bc011 100644 --- a/app/sites/[id]/replays/[replayId]/page.tsx +++ b/app/sites/[id]/replays/[replayId]/page.tsx @@ -189,7 +189,7 @@ export default function ReplayViewerPage() { } } - if (loading) return + if (loading) return if (!site || !replay) return
Replay not found
return ( diff --git a/app/sites/[id]/replays/page.tsx b/app/sites/[id]/replays/page.tsx index 7fdfd10..d78bba5 100644 --- a/app/sites/[id]/replays/page.tsx +++ b/app/sites/[id]/replays/page.tsx @@ -88,7 +88,7 @@ export default function ReplaysPage() { setFilters(prev => ({ ...prev, offset: newOffset })) } - if (loading) return + if (loading) return if (!site) return
Site not found
const currentPage = Math.floor((filters.offset || 0) / (filters.limit || 20)) + 1 diff --git a/app/sites/[id]/settings/page.tsx b/app/sites/[id]/settings/page.tsx index e55fdd3..e283f2f 100644 --- a/app/sites/[id]/settings/page.tsx +++ b/app/sites/[id]/settings/page.tsx @@ -234,7 +234,7 @@ export default function SiteSettingsPage() { } if (loading) { - return + return } if (!site) { diff --git a/components/LoadingOverlay.tsx b/components/LoadingOverlay.tsx index 5c843c3..0ca364c 100644 --- a/components/LoadingOverlay.tsx +++ b/components/LoadingOverlay.tsx @@ -10,7 +10,7 @@ interface LoadingOverlayProps { } export default function LoadingOverlay({ - logoSrc = "/ciphera_icon_no_margins.png", + logoSrc = "/pulse_icon_no_margins.png", title = "Pulse", portal = true }: LoadingOverlayProps) { diff --git a/components/sites/SiteList.tsx b/components/sites/SiteList.tsx index e619a29..ef5d24e 100644 --- a/components/sites/SiteList.tsx +++ b/components/sites/SiteList.tsx @@ -45,7 +45,7 @@ export default function SiteList() { } if (loading) { - return + return } if (sites.length === 0) { diff --git a/lib/auth/context.tsx b/lib/auth/context.tsx index 61687b2..ddad4f7 100644 --- a/lib/auth/context.tsx +++ b/lib/auth/context.tsx @@ -162,7 +162,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) { return ( - {isLoggingOut && } + {isLoggingOut && } {children} ) diff --git a/public/pulse_icon_no_margins.png b/public/pulse_icon_no_margins.png new file mode 100644 index 0000000..87f1a61 Binary files /dev/null and b/public/pulse_icon_no_margins.png differ diff --git a/public/pulse_logo_no_margins.png b/public/pulse_logo_no_margins.png new file mode 100644 index 0000000..aa81da0 Binary files /dev/null and b/public/pulse_logo_no_margins.png differ