import { useMessages, useTeamUrl } from '@/components/hooks'; import { PageHeader } from '@/components/layout/PageHeader'; import { WebsiteAddButton } from './WebsiteAddButton'; export interface WebsitesHeaderProps { allowCreate?: boolean; } export function WebsitesHeader({ allowCreate = true }: WebsitesHeaderProps) { const { formatMessage, labels } = useMessages(); const { teamId } = useTeamUrl(); return ( {allowCreate && } ); }