mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +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>
|
|
);
|
|
}
|