Skip to content

Commit

Permalink
removed coins
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyplay committed Dec 11, 2024
1 parent f178a75 commit 13e0d0d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/components/Toolbar/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
import { useOpenUrl } from "../../hooks/useOpenUrl";
import { DropdownMenu, Flex, IconButton } from "@radix-ui/themes";
import { HamburgerMenuIcon, DiscordLogoIcon } from "@radix-ui/react-icons";
import { Coin } from "../../images";

export type DropdownNavigationOptions =
| "fim"
Expand Down Expand Up @@ -86,17 +85,8 @@ export const Dropdown: React.FC<DropdownProps> = ({
)}

{user.data && (
<DropdownMenu.Label>
<Flex align="center" gap="1">
<Coin /> {user.data.metering_balance} coins
</Flex>
</DropdownMenu.Label>
)}
{user.data && (
<DropdownMenu.Label>
<Flex align="center" gap="1">
Active plan: {user.data.inference}
</Flex>
<DropdownMenu.Label style={{ marginTop: 0 }}>
<Flex align="center">Active plan: {user.data.inference}</Flex>
</DropdownMenu.Label>
)}

Expand Down

0 comments on commit 13e0d0d

Please sign in to comment.