import Relay from '@/components/Relay' import PrimaryPageLayout from '@/layouts/PrimaryPageLayout' import { normalizeUrl, simplifyUrl } from '@/lib/url' import { Server } from 'lucide-react' import { forwardRef, useMemo } from 'react' const RelayPage = forwardRef(({ url }: { url?: string }, ref) => { const normalizedUrl = useMemo(() => (url ? normalizeUrl(url) : undefined), [url]) return ( } displayScrollToTopButton ref={ref} >
) }) RelayPage.displayName = 'RelayPage' export default RelayPage function RelayPageTitlebar({ url }: { url?: string }) { return (
{simplifyUrl(url ?? '')}
) }