Skip to content

Commit

Permalink
fix: remove banner color check; deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Sep 30, 2023
1 parent 01b1ed8 commit c0d3d15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/website/src/components/UserDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export function UserDisplay({
accent_color?: number | null;
avatar?: string | null;
banner?: string | null;
banner_color?: number | null;
id: string;
username: string;
};
Expand All @@ -27,8 +26,8 @@ export function UserDisplay({
}?size=480`}
/>
</picture>
) : user.banner_color ? (
<div className={`bg-[#${user.banner_color.toString(16)}] h-full w-full rounded-lg`} />
) : user.accent_color ? (
<div className={`bg-[#${user.accent_color.toString(16)}] h-full w-full rounded-lg`} />
) : (
<div className="flex h-full w-full place-content-center items-center rounded-lg bg-black">
<span>Actually poor.</span>
Expand Down

1 comment on commit c0d3d15

@vercel
Copy link

@vercel vercel bot commented on c0d3d15 Sep 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yuudachi – ./apps/website

yuudachi-git-main-discordjs.vercel.app
yuudachi-discordjs.vercel.app
yuudachi.vercel.app
www.yuudachi.dev
yuudachi.dev

Please sign in to comment.