Skip to content

Commit 42e51f6

Browse files
fix
1 parent 756634a commit 42e51f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/app/[domain]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default async function Layout(props: LayoutProps) {
126126
)
127127
}
128128

129-
if (hasEntitlement("permission-syncing")) {
129+
if (session && hasEntitlement("permission-syncing")) {
130130
const linkedAccountProviderStates = await getLinkedAccountProviderStates();
131131
if (isServiceError(linkedAccountProviderStates)) {
132132
return (

0 commit comments

Comments
 (0)