From a0c5276fb1fbdf24ac43322ce8eb065f7a7db6da Mon Sep 17 00:00:00 2001
From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
Date: Fri, 21 Mar 2025 23:43:35 -0700
Subject: [PATCH] Fixes
---
webview-ui/src/components/account/AccountView.tsx | 4 ++--
.../src/components/account/CreditsHistoryTable.tsx | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/webview-ui/src/components/account/AccountView.tsx b/webview-ui/src/components/account/AccountView.tsx
index 36ec1fa4..60109ec7 100644
--- a/webview-ui/src/components/account/AccountView.tsx
+++ b/webview-ui/src/components/account/AccountView.tsx
@@ -147,7 +147,7 @@ export const ClineAccountView = () => {
) : (
-
+
@@ -161,7 +161,7 @@ export const ClineAccountView = () => {
By continuing, you agree to the Terms of Service and{" "}
- Privacy Policy.
+ Privacy Policy.
)}
diff --git a/webview-ui/src/components/account/CreditsHistoryTable.tsx b/webview-ui/src/components/account/CreditsHistoryTable.tsx
index d8b67073..128b7718 100644
--- a/webview-ui/src/components/account/CreditsHistoryTable.tsx
+++ b/webview-ui/src/components/account/CreditsHistoryTable.tsx
@@ -44,10 +44,10 @@ const CreditsHistoryTable = ({ isLoading, usageData, paymentsData }: CreditsHist
Model
-
+ {/*
Tokens Used
-
-
+ */}
+
Credits Used
@@ -58,8 +58,8 @@ const CreditsHistoryTable = ({ isLoading, usageData, paymentsData }: CreditsHist
{formatTimestamp(row.spentAt)}
{`${row.modelProvider}/${row.model}`}
-
{`${row.promptTokens} → ${row.completionTokens}`}
-
{`$${Number(row.credits).toFixed(7)}`}
+ {/*
{`${row.promptTokens} → ${row.completionTokens}`} */}
+
{`$${Number(row.credits).toFixed(7)}`}
))}