We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 756634a commit 42e51f6Copy full SHA for 42e51f6
packages/web/src/app/[domain]/layout.tsx
@@ -126,7 +126,7 @@ export default async function Layout(props: LayoutProps) {
126
)
127
}
128
129
- if (hasEntitlement("permission-syncing")) {
+ if (session && hasEntitlement("permission-syncing")) {
130
const linkedAccountProviderStates = await getLinkedAccountProviderStates();
131
if (isServiceError(linkedAccountProviderStates)) {
132
return (
0 commit comments