Skip to content

Commit

Permalink
fixes support text
Browse files Browse the repository at this point in the history
  • Loading branch information
ccarlaa committed Dec 7, 2023
1 parent 1e25a1e commit 714b3a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SelectBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ function SelectBox({
</>
)}
</Listbox>
{error ? (
{error && errorMsg ? (
<span className="text-sm text-error-500">{errorMsg}</span>
) : (
) : supportText && (

Check failure on line 202 in src/components/SelectBox/index.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `supportText·&&·(⏎·······` with `(⏎········supportText·&&`
<span className="text-sm text-gray-600">{supportText}</span>
)}
</div>
Expand Down

0 comments on commit 714b3a6

Please sign in to comment.