Skip to content

Commit

Permalink
added strictmode tags to default templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Katherine Connolly committed Mar 7, 2020
1 parent 3f699fd commit af82b63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cra-template-typescript/template/src/App.tsx
Expand Up @@ -4,6 +4,7 @@ import './App.css';

function App() {
return (
<React.StrictMode>
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
Expand All @@ -20,6 +21,7 @@ function App() {
</a>
</header>
</div>
</React.StrictMode>
);
}

Expand Down
2 changes: 2 additions & 0 deletions packages/cra-template/template/src/App.js
Expand Up @@ -4,6 +4,7 @@ import './App.css';

function App() {
return (
<React.StrictMode>
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
Expand All @@ -20,6 +21,7 @@ function App() {
</a>
</header>
</div>
</React.StrictMode>
);
}

Expand Down

0 comments on commit af82b63

Please sign in to comment.