From 0c91e446291bb06e92ac4341c994229b7ecaccff Mon Sep 17 00:00:00 2001 From: Alex Hancock Date: Mon, 2 Dec 2024 10:39:58 -0500 Subject: [PATCH] [app] Spacer cleanup --- ui/desktop/src/components/Splash.tsx | 5 +++-- ui/desktop/src/components/ToolInvocations.tsx | 2 +- ui/desktop/src/components/ui/spacer.tsx | 10 ---------- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 ui/desktop/src/components/ui/spacer.tsx diff --git a/ui/desktop/src/components/Splash.tsx b/ui/desktop/src/components/Splash.tsx index 9cedcbc0e8..770532b817 100644 --- a/ui/desktop/src/components/Splash.tsx +++ b/ui/desktop/src/components/Splash.tsx @@ -1,7 +1,6 @@ import React from 'react'; import GooseSplashLogo from './GooseSplashLogo'; import SplashPills from './SplashPills'; -import Spacer from './ui/spacer'; export default function Splash({ append }) { return ( @@ -11,7 +10,9 @@ export default function Splash({ append }) { ask
goose
- +
+
+
{ diff --git a/ui/desktop/src/components/ToolInvocations.tsx b/ui/desktop/src/components/ToolInvocations.tsx index 54c1d789f7..2104fc340c 100644 --- a/ui/desktop/src/components/ToolInvocations.tsx +++ b/ui/desktop/src/components/ToolInvocations.tsx @@ -115,7 +115,7 @@ function ToolResult({ result }: ToolResultProps) { }; return ( -
+
{filteredResults.map((item: ResultItem, index: number) => { const isExpanded = shouldShowExpanded(item, index); const shouldMinimize = item.priority !== undefined && item.priority < 0.5; diff --git a/ui/desktop/src/components/ui/spacer.tsx b/ui/desktop/src/components/ui/spacer.tsx deleted file mode 100644 index ea1d7ffa58..0000000000 --- a/ui/desktop/src/components/ui/spacer.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; - -export default function Spacer({ className }) { - return ( -
-
-
- ) -} -