Skip to content

Commit

Permalink
fix(tokens): remove token from display
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed Mar 25, 2024
1 parent c663b8c commit 87db212
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/features/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ChatContent } from "../components/ChatContent";
import { Flex, Responsive, Button, Text } from "@radix-ui/themes";
import { useConfig } from "../contexts/config-context";
import { ArrowLeftIcon } from "@radix-ui/react-icons";
import { Coin } from "../images";

export const Chat: React.FC<{ style?: React.CSSProperties }> = (props) => {
const { host, tabbed } = useConfig();
Expand Down Expand Up @@ -142,11 +141,6 @@ export const Chat: React.FC<{ style?: React.CSSProperties }> = (props) => {
model: {state.chat.model || state.caps.default_cap}{" "}
</Text>
)}
{state.tokens !== null && (
<Text title="balance" size="1" ml="auto">
{state.tokens} <Coin width="10" height="10" />
</Text>
)}
</Flex>
</Flex>
);
Expand Down

0 comments on commit 87db212

Please sign in to comment.