Skip to content

Commit

Permalink
Fix TS error on spinner.
Browse files Browse the repository at this point in the history
  • Loading branch information
me-julian committed May 8, 2024
1 parent cbcfb7d commit 4183707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/SearchEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function SearchEntry({
{name}{' '}
{navigation.state === 'submitting' &&
navigation.formMethod === 'post' &&
navigation.formData.get('name') === name && (
navigation.formData?.get('name') === name && (
<FontAwesomeIcon icon={faCircleNotch} spin />
)}
</h5>
Expand Down

0 comments on commit 4183707

Please sign in to comment.