mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(layout): fix layout semantics on invite page (#1356)
This commit is contained in:
committed by
GitHub
parent
0c30646a2d
commit
bd402cdda5
@@ -1,2 +1,2 @@
|
||||
export { InviteLayout } from './layout'
|
||||
export { default as InviteLayout } from './layout'
|
||||
export { InviteStatusCard } from './status-card'
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user