refactor: enhance OfflineBanner to accept online status as a prop and update layout-content to pass isOnline state
This commit is contained in:
@@ -45,7 +45,7 @@ export default function LayoutContent({ children }: { children: React.ReactNode
|
||||
|
||||
return (
|
||||
<>
|
||||
{auth.user && <OfflineBanner />}
|
||||
{auth.user && <OfflineBanner isOnline={isOnline} />}
|
||||
<Header
|
||||
auth={auth}
|
||||
LinkComponent={Link}
|
||||
|
||||
Reference in New Issue
Block a user