From 2b85df69ef0d02e4f326eb29719f1fd58fdcab13 Mon Sep 17 00:00:00 2001 From: baegofda Date: Mon, 14 Oct 2024 18:36:29 +0900 Subject: [PATCH] npm publish (0.0.254) --- package.json | 2 +- src/core/components/Input/InputSearch/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 34c2309..4c0652f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bbodek-ui", - "version": "0.0.253", + "version": "0.0.254", "type": "module", "author": "Bbodek", "license": "MIT", diff --git a/src/core/components/Input/InputSearch/index.tsx b/src/core/components/Input/InputSearch/index.tsx index 91cc5df..4c5dbc6 100644 --- a/src/core/components/Input/InputSearch/index.tsx +++ b/src/core/components/Input/InputSearch/index.tsx @@ -38,7 +38,7 @@ const InputSearch = ({ }); const SearchIcon = ; const el = rootRef.current; - const isForm = rootElement === 'form'; + const isForm = (rootElement || 'form') === 'form'; const endComponent = () => { if (isForm) {