import { useAppConfig } from "../AppConfig/AppConfig.tsx"; export function DocumentTitle(props: { children: string }) { const { children: children } = props; const { app, isDev } = useAppConfig(); const itc = `${app.name} ยท Indie Tabletop Club`; const title = children ? `${children} | ${itc}` : itc; return {isDev ? `[DEV] ${title}` : title}; }