Skip to content

Commit 54510ef

Browse files
committed
Fixed error
1 parent 81594af commit 54510ef

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

src/App.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,8 @@ export default function App() {
1919
{tools.map((tool) => (
2020
<ToolCard key={tool.name} name={tool.name} content={tool.component} />
2121
))}
22-
</main>
23-
);
24-
}
2522

26-
export default function ErrorButton() {
27-
return (
28-
<button
29-
onClick={() => {
30-
throw new Error("This is your first error!");
31-
}}
32-
>
33-
Break the world
34-
</button>
23+
<ToolCard name="Sentry Test" content={<ErrorButton />} />
24+
</main>
3525
);
3626
}

0 commit comments

Comments
 (0)