Skip to content

Commit

Permalink
fix: busy on status
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Jan 4, 2024
1 parent 8ff5f60 commit 93d9b73
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,9 @@ const DiscordStatus = () => {
{activity?.[0] &&
typeof activity[0] === "object" &&
activity[0].name &&
(activity[0].name.toLowerCase().includes("code") ||
activity[0].name.toLowerCase().includes("neovim")) ? (
<span
className={`${activityNameColor} text-center`}
>{`${activity[0].state}`}</span>
(activity[0].name.includes("Code") ||
activity[0].name.includes("Neovim")) ? (
<span className={`${activityNameColor} text-center`}>Busy</span>
) : activity?.[0] &&
typeof activity[0] === "object" &&
activity[0].name === "Spotify" ? (
Expand Down

0 comments on commit 93d9b73

Please sign in to comment.