mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-11 21:56:11 -05:00
Fix user page crashing if invalid link
This commit is contained in:
@@ -23,6 +23,8 @@ export const links: LinksFunction = () => {
|
||||
};
|
||||
|
||||
export const meta: MetaFunction = ({ data }: { data: UserPageLoaderData }) => {
|
||||
if (!data) return {};
|
||||
|
||||
return {
|
||||
title: makeTitle(discordFullName(data)),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user