From 60f01428b81868eab14a3b742a51fb1e17a8d298 Mon Sep 17 00:00:00 2001 From: kawamataryo Date: Mon, 9 Dec 2024 13:16:49 +0900 Subject: [PATCH] chore: add follow all btn to list view --- src/lib/components/Sidebar.tsx | 57 ++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/src/lib/components/Sidebar.tsx b/src/lib/components/Sidebar.tsx index 239664d..6cdc412 100644 --- a/src/lib/components/Sidebar.tsx +++ b/src/lib/components/Sidebar.tsx @@ -134,7 +134,7 @@ const Sidebar = ({ ))}
-
+

Action

- {match(actionMode) - .with(ACTION_MODE.FOLLOW, () => ( - - )) - .with(ACTION_MODE.BLOCK, () => ( - - )) - .with(ACTION_MODE.IMPORT_LIST, () => ( - - )) - .otherwise(() => null)} -

- ⚠️ {chrome.i18n.getMessage("warning_user_detection")} -

+
+ {match(actionMode) + .with(ACTION_MODE.FOLLOW, () => ( + + )) + .with(ACTION_MODE.BLOCK, () => ( + + )) + .with(ACTION_MODE.IMPORT_LIST, () => ( + <> + + + + )) + .otherwise(() => null)} +

+ ⚠️ {chrome.i18n.getMessage("warning_user_detection")} +

+