File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from "react" ;
2- import ErrorButton from "./components/ErrorButton" ;
32import ToolCard from "./components/ToolCard" ;
43import Calculator from "./tools/Calculator" ;
54import PasswordGenerator from "./tools/PasswordGenerator" ;
@@ -16,8 +15,7 @@ const tools = [
1615export default function App ( ) {
1716 return (
1817 < main className = "tool-grid" >
19- < ErrorButton /> { /* 👈 click this to send a test error */ }
20- { tools . map ( ( tool ) => (
18+ { tools . map ( ( tool ) => (
2119 < ToolCard key = { tool . name } name = { tool . name } content = { tool . component } />
2220 ) ) }
2321 </ main >
Original file line number Diff line number Diff line change @@ -13,6 +13,4 @@ const container = document.getElementById("app");
1313if ( ! container ) throw new Error ( "No root container found" ) ;
1414
1515const root = createRoot ( container ) ;
16- root . render ( < App /> ) ;
17-
18- Sentry . captureException ( new Error ( "Manual test event" ) ) ;
16+ root . render ( < App /> ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ Sentry.init({
1515 replaysOnErrorSampleRate : 1.0 ,
1616 sendDefaultPii : true ,
1717 enableTracing : true
18- } ) ;
19-
20- Sentry . captureException ( new Error ( "Startup test error" ) ) ;
18+ } ) ;
You can’t perform that action at this time.
0 commit comments