Skip to content

Commit

Permalink
Enable strict mode (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Apr 24, 2024
1 parent a5f3975 commit d418c32
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React, { StrictMode } from "react";
import ReactDOM from "react-dom/client";
//import reportWebVitals from "./reportWebVitals";
import "bootstrap/dist/css/bootstrap.min.css";
Expand All @@ -24,7 +24,11 @@ function App() {
);
}

root.render(<App />);
root.render(
<StrictMode>
<App />
</StrictMode>,
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
Expand Down

0 comments on commit d418c32

Please sign in to comment.