Skip to content

Commit

Permalink
fix: placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Nov 19, 2024
1 parent 97b1354 commit 7f63f1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const TableSelector = ({
<TableIcon size="18px" />
<StyledInput
value={query}
placeholder={defaultValue ?? placeholder}
placeholder={defaultValue !== "" ? defaultValue : placeholder}
ref={inputRef}
onFocus={() => {
setQuery(defaultValue)
Expand Down

0 comments on commit 7f63f1c

Please sign in to comment.