From 2f0753dcb494d91812a6c5c04a0eb7ccfef30028 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 23 Mar 2024 00:11:06 +0000
Subject: ui(web): Make the editor card a little bit more obvious

---
 apps/web/components/dashboard/bookmarks/EditorCard.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'apps/web/components/dashboard/bookmarks/EditorCard.tsx')

diff --git a/apps/web/components/dashboard/bookmarks/EditorCard.tsx b/apps/web/components/dashboard/bookmarks/EditorCard.tsx
index 44c5889b..dfcf1f6c 100644
--- a/apps/web/components/dashboard/bookmarks/EditorCard.tsx
+++ b/apps/web/components/dashboard/bookmarks/EditorCard.tsx
@@ -59,6 +59,8 @@ export default function EditorCard({ className }: { className?: string }) {
         )}
         onSubmit={form.handleSubmit(onSubmit, onError)}
       >
+        <p className="text-sm">NEW ITEM</p>
+        <hr />
         <FormField
           control={form.control}
           name="text"
@@ -84,8 +86,8 @@ export default function EditorCard({ className }: { className?: string }) {
             );
           }}
         />
-        <ActionButton loading={isPending} type="submit" variant="ghost">
-          Save
+        <ActionButton loading={isPending} type="submit" variant="default">
+          {form.formState.dirtyFields.text ? "Press ⌘ + Enter to Save" : "Save"}
         </ActionButton>
       </form>
     </Form>
-- 
cgit v1.2.3-70-g09d2

