Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyshlyaev177 committed Nov 13, 2024
1 parent ad4647b commit c011867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/example-nextjs14/src/app/DemoPart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function fallbackRender({ error, resetErrorBoundary }: FallbackProps) {
return (
<div role="alert" className='max-w-[30%] flex flex-col items-center gap-4'>
<p>Something went wrong:</p>
<pre className='whitespace-break-spaces text-red-500 max-h-[350px]'>{error.message || error}</pre>
<pre className='whitespace-break-spaces text-red-500 max-h-[350px]'>{String(error.message || error)}</pre>
<button onClick={resetErrorBoundary} className='p-4 bg-gray-300 rounded-md'>Try again</button>
</div>
);
Expand Down

0 comments on commit c011867

Please sign in to comment.