mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +00:00
11 lines
214 B
TypeScript
11 lines
214 B
TypeScript
|
'use client';
|
||
|
|
||
|
export default function Error({ reset }: { reset: () => void }) {
|
||
|
return (
|
||
|
<div>
|
||
|
<h2>Something went wrong.</h2>
|
||
|
<button onClick={() => reset()}>Try again</button>
|
||
|
</div>
|
||
|
);
|
||
|
}
|