Skip to content

Commit

Permalink
Code: nr format
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Aug 31, 2024
1 parent 1a4a200 commit 91be2af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 1 addition & 4 deletions frontend/app/routes/users.$handle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -138,9 +137,7 @@ const UserPage = () => {
<p className="text-md mt-4 card">
<Trans t={t} i18nKey="secretUserInfo">
{secretUserInfo.owner ? (
<Link
to={`/users/${secretUserInfo.owner.handle}`}
/>
<Link to={`/users/${secretUserInfo.owner.handle}`} />
) : (
<span />
)}
Expand Down
9 changes: 6 additions & 3 deletions frontend/components/SideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,12 @@ const SideMenu: React.FC<{ close: () => void }> = ({ close }) => {
backgroundColor: session.user.bgColor,
}}
>
<PersonFilled className="w-3/4 h-3/4" style={{
color: session.user.fgColor,
}} />
<PersonFilled
className="w-3/4 h-3/4"
style={{
color: session.user.fgColor,
}}
/>
</div>
<div className="font-bold text-2xl text-normal">
{session.user.name}
Expand Down

0 comments on commit 91be2af

Please sign in to comment.