From b135e8954390205ad6705f747ca256280a984967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Wed, 5 Mar 2025 11:13:21 +0100 Subject: [PATCH] fix(tag-input): No need to clear tag input, should clear complete search instead --- client/src/components/tag-input/index.jsx | 18 +----------------- client/src/pages/datasets/search.jsx | 11 ----------- .../src/pages/openalex-affiliations/search.jsx | 11 ----------- client/src/pages/publications/search.jsx | 11 ----------- 4 files changed, 1 insertion(+), 50 deletions(-) diff --git a/client/src/components/tag-input/index.jsx b/client/src/components/tag-input/index.jsx index 28943096..309d92d8 100644 --- a/client/src/components/tag-input/index.jsx +++ b/client/src/components/tag-input/index.jsx @@ -31,7 +31,6 @@ export default function TagInput({ onInputHandler, onTagsChange, placeholder, - removeAllAffiliations, seeMoreAction, seeMoreAfter, switchGetRorChildren, @@ -102,21 +101,7 @@ export default function TagInput({ - {label} -