diff --git a/packages/react-scripts/template-typescript/src/App.tsx b/packages/react-scripts/template-typescript/src/App.tsx index ff5a4a660ee..fd339698e56 100644 --- a/packages/react-scripts/template-typescript/src/App.tsx +++ b/packages/react-scripts/template-typescript/src/App.tsx @@ -1,28 +1,26 @@ -import React, { Component } from 'react'; +import * as React from 'react'; import logo from './logo.svg'; import './App.css'; -class App extends Component { - render() { - return ( -
- Edit src/App.tsx
and save to reload.
-
+ Edit src/App.tsx
and save to reload.
+
- Edit src/App.js
and save to reload.
-
+ Edit src/App.js
and save to reload.
+