From b4247378a31292373457aed2266d4bc576779520 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Mon, 18 Mar 2019 20:18:21 -0600 Subject: [PATCH] Change app component declaration from arrow function to regular function (#6655) * Change app component declaration from arrow function to regular function * Change TypeScript template back to an arrow function --- packages/react-scripts/template/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/src/App.js b/packages/react-scripts/template/src/App.js index 2b85f25b0fe..ce9cbd2946d 100644 --- a/packages/react-scripts/template/src/App.js +++ b/packages/react-scripts/template/src/App.js @@ -2,7 +2,7 @@ import React from 'react'; import logo from './logo.svg'; import './App.css'; -const App = () => { +function App() { return (