Skip to content

Commit bd402cd

Browse files
fix(layout): fix layout semantics on invite page (#1356)
1 parent 0c30646 commit bd402cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export { InviteLayout } from './layout'
1+
export { default as InviteLayout } from './layout'
22
export { InviteStatusCard } from './status-card'

apps/sim/app/invite/components/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function isColorDark(hexColor: string): boolean {
1717
return luminance < 0.5
1818
}
1919

20-
export function InviteLayout({ children }: InviteLayoutProps) {
20+
export default function InviteLayout({ children }: InviteLayoutProps) {
2121
useEffect(() => {
2222
const rootStyle = getComputedStyle(document.documentElement)
2323
const brandBackground = rootStyle.getPropertyValue('--brand-background-hex').trim()

0 commit comments

Comments
 (0)