Skip to content

Commit

Permalink
Safer coercion
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 22, 2024
1 parent 08c992e commit a17e82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialogs/GifSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function GifSelectDialog({
}

const renderErrorBoundary = useCallback(
(error: any) => <DialogError details={error.toString()} />,
(error: any) => <DialogError details={String(error)} />,
[],
)

Expand Down

0 comments on commit a17e82a

Please sign in to comment.