diff --git a/src/components/searchBar/index.tsx b/src/components/searchBar/index.tsx index 228aeb9..531df19 100644 --- a/src/components/searchBar/index.tsx +++ b/src/components/searchBar/index.tsx @@ -9,13 +9,18 @@ type SearchBarProps = Omit, 'type'> & { export const SearchBar = (props: SearchBarProps) => { const submitButton = props.submitButton; const submitLogic = props.submitLogic; + const goodProps = { + ...props, + submitButton: undefined, + submitLogic: undefined, + }; return (
{