File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
apps/postgres-new/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ export type LayoutProps = PropsWithChildren
1818export default function Layout ( { children } : LayoutProps ) {
1919 const { isPreview } = useApp ( )
2020 const isSmallBreakpoint = useBreakpoint ( 'lg' )
21- const isNewDomain = typeof window !== 'undefined' && window . location . hostname === 'database.build'
21+ const isLegacyDomain =
22+ typeof window !== 'undefined' && window . location . hostname === 'postgres.new'
2223
2324 return (
2425 < LazyMotion features = { loadFramerFeatures } >
2526 < TooltipProvider delayDuration = { 0 } >
2627 < div className = "w-full h-full flex flex-col overflow-hidden" >
2728 { isPreview && < PreviewBanner /> }
28- { ! isNewDomain && < RenameBanner /> }
29+ { isLegacyDomain && < RenameBanner /> }
2930 < main className = "flex-1 flex flex-col lg:flex-row min-h-0" >
3031 { /* TODO: make sidebar available on mobile */ }
3132 { ! isSmallBreakpoint && < Sidebar /> }
You can’t perform that action at this time.
0 commit comments