diff --git a/app/routes/play/match.$id.tsx b/app/routes/play/match.$id.tsx index 15bced672..a175fdba5 100644 --- a/app/routes/play/match.$id.tsx +++ b/app/routes/play/match.$id.tsx @@ -43,9 +43,13 @@ export const links: LinksFunction = () => { return [{ rel: "stylesheet", href: styles }]; }; -export const meta: MetaFunction = ({ data }: { data: LFGMatchLoaderData }) => { +export const meta: MetaFunction = ({ + data, +}: { + data: Nullable; +}) => { return { - title: data.isOwnMatch + title: data?.isOwnMatch ? makeTitle( `vs. ${listToUserReadableString( data.groups[1].members.map(