From 91be2afe09ae9a088249481656b42de02e3a0950 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sat, 31 Aug 2024 19:38:41 +0900 Subject: [PATCH] Code: nr format --- frontend/app/routes/users.$handle.tsx | 5 +---- frontend/components/SideMenu.tsx | 9 ++++++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/app/routes/users.$handle.tsx b/frontend/app/routes/users.$handle.tsx index 6a181d2..3ff0922 100644 --- a/frontend/app/routes/users.$handle.tsx +++ b/frontend/app/routes/users.$handle.tsx @@ -18,7 +18,6 @@ import { backendUrl, host } from "~/lib/config.server.ts"; import { useSession } from "~/lib/contexts.ts"; import { detectLocale, i18n } from "~/lib/i18n.server.ts"; import type { Chart, DiscordInfo, User } from "~/lib/types.ts"; -import { useRandomValue } from "~/lib/useRandomValue"; import { isAdmin } from "~/lib/utils.ts"; export const loader = async ({ params, request }: LoaderFunctionArgs) => { @@ -138,9 +137,7 @@ const UserPage = () => {

{secretUserInfo.owner ? ( - + ) : ( )} diff --git a/frontend/components/SideMenu.tsx b/frontend/components/SideMenu.tsx index e87e417..83904bf 100644 --- a/frontend/components/SideMenu.tsx +++ b/frontend/components/SideMenu.tsx @@ -97,9 +97,12 @@ const SideMenu: React.FC<{ close: () => void }> = ({ close }) => { backgroundColor: session.user.bgColor, }} > - +

{session.user.name}