From 34265613b80d1d2249d276da5fcd5e4c274af357 Mon Sep 17 00:00:00 2001
From: Ellie Huxtable <ellie@elliehuxtable.com>
Date: Tue, 14 May 2024 12:16:04 +0700
Subject: feat(ui): add history explore (#2022)

* break out HistoryRow, add drawer

* syntax highlighting!

* smaller text

* allow inspecting all old commands, no drag command

* fix query bug

* add loader
---
 ui/src/pages/Dotfiles.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'ui/src/pages/Dotfiles.tsx')

diff --git a/ui/src/pages/Dotfiles.tsx b/ui/src/pages/Dotfiles.tsx
index 29b6b54a..43ecfa2a 100644
--- a/ui/src/pages/Dotfiles.tsx
+++ b/ui/src/pages/Dotfiles.tsx
@@ -5,7 +5,7 @@ import Vars from "@/components/dotfiles/Vars";
 enum Section {
   Aliases,
   Vars,
-  Scripts,
+  Snippets,
 }
 
 function renderDotfiles(current: Section) {
@@ -14,7 +14,7 @@ function renderDotfiles(current: Section) {
       return <Aliases />;
     case Section.Vars:
       return <Vars />;
-    case Section.Scripts:
+    case Section.Snippets:
       return <div />;
   }
 }
@@ -60,9 +60,9 @@ function Tabs({ current, setCurrent }: TabsProps) {
       section: Section.Vars,
     },
     {
-      name: "Scripts",
-      isCurrent: () => current === Section.Scripts,
-      section: Section.Scripts,
+      name: "Snippets",
+      isCurrent: () => current === Section.Snippets,
+      section: Section.Snippets,
     },
   ];
 
-- 
cgit v1.3.1

