From 50d9873ec14475b69cad291b70e7d46d5cd9795d Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 21 Nov 2023 22:08:46 +0800 Subject: [PATCH] chore: tweak shortcut link display --- frontend/extension/src/components/ShortcutView.tsx | 3 +-- frontend/web/src/components/ShortcutCard.tsx | 3 +-- frontend/web/src/components/ShortcutView.tsx | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/extension/src/components/ShortcutView.tsx b/frontend/extension/src/components/ShortcutView.tsx index f1cbc90..37a4a72 100644 --- a/frontend/extension/src/components/ShortcutView.tsx +++ b/frontend/extension/src/components/ShortcutView.tsx @@ -44,10 +44,9 @@ const ShortcutView = (props: Props) => {
{shortcut.title} {shortcut.title ? ( - (s/{shortcut.name}) + ({shortcut.name}) ) : ( <> - s/ {shortcut.name} )} diff --git a/frontend/web/src/components/ShortcutCard.tsx b/frontend/web/src/components/ShortcutCard.tsx index 58b8267..1d49422 100644 --- a/frontend/web/src/components/ShortcutCard.tsx +++ b/frontend/web/src/components/ShortcutCard.tsx @@ -54,10 +54,9 @@ const ShortcutCard = (props: Props) => {
{shortcut.title} {shortcut.title ? ( - (s/{shortcut.name}) + ({shortcut.name}) ) : ( <> - s/ {shortcut.name} )} diff --git a/frontend/web/src/components/ShortcutView.tsx b/frontend/web/src/components/ShortcutView.tsx index f51a2a0..7bd80b0 100644 --- a/frontend/web/src/components/ShortcutView.tsx +++ b/frontend/web/src/components/ShortcutView.tsx @@ -35,11 +35,10 @@ const ShortcutView = (props: Props) => { {shortcut.title ? ( <> {shortcut.title} - (s/{shortcut.name}) + ({shortcut.name}) ) : ( <> - s/ {shortcut.name} )}