Skip to content

Commit dde15e4

Browse files
committed
fix(auth): preserve invitation loading and branding boundaries
1 parent 800a2e2 commit dde15e4

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
import { AuthStack, AuthSkeleton as Skeleton } from '@sim/auth-ui'
2+
import { InviteLayout } from '@/app/invite/components'
23

34
export default function InviteLoading() {
45
return (
5-
<AuthStack>
6-
<div className='au:space-y-1'>
7-
<Skeleton shape='title' className='au:w-[200px]' />
8-
<Skeleton shape='label' className='au:w-[280px]' />
9-
<Skeleton shape='label' className='au:w-[240px]' />
10-
</div>
11-
<Skeleton />
12-
</AuthStack>
6+
<InviteLayout>
7+
<AuthStack>
8+
<div className='au:space-y-1'>
9+
<Skeleton shape='title' className='au:w-[200px]' />
10+
<Skeleton shape='label' className='au:w-[280px]' />
11+
<Skeleton shape='label' className='au:w-[240px]' />
12+
</div>
13+
<Skeleton />
14+
</AuthStack>
15+
</InviteLayout>
1316
)
1417
}

‎apps/sim/lib/navigation/auth-surfaces.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const AUTH_SURFACE_ROOTS = [
99
'/oauth',
1010
'/oauth-error',
1111
'/invite',
12+
'/enterprise/claim',
1213
'/unsubscribe',
1314
'/desktop/auth',
1415
'/desktop/done',

0 commit comments

Comments
 (0)