fix(layout): fix layout semantics on invite page (#1356)

This commit is contained in:
Vikhyath Mondreti
2025-09-16 21:17:51 -07:00
committed by GitHub
parent 0c30646a2d
commit bd402cdda5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
export { InviteLayout } from './layout'
export { default as InviteLayout } from './layout'
export { InviteStatusCard } from './status-card'

View File

@@ -17,7 +17,7 @@ function isColorDark(hexColor: string): boolean {
return luminance < 0.5
}
export function InviteLayout({ children }: InviteLayoutProps) {
export default function InviteLayout({ children }: InviteLayoutProps) {
useEffect(() => {
const rootStyle = getComputedStyle(document.documentElement)
const brandBackground = rootStyle.getPropertyValue('--brand-background-hex').trim()