diff --git a/examples/react/optimistic-updates-ui/src/pages/index.tsx b/examples/react/optimistic-updates-ui/src/pages/index.tsx index 5941b2f9b6..7e4a8e4b12 100644 --- a/examples/react/optimistic-updates-ui/src/pages/index.tsx +++ b/examples/react/optimistic-updates-ui/src/pages/index.tsx @@ -40,7 +40,7 @@ function Example() { headers: { 'Content-Type': 'application/json' }, }) if (!response.ok) { - throw new Error('Something went wrong.'); + throw new Error('Something went wrong.') } return await response.json() },