Skip to content

Commit b424737

Browse files
authored
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
1 parent 4734d4e commit b424737

File tree

1 file changed

+1
-1
lines changed
  • packages/react-scripts/template/src

1 file changed

+1
-1
lines changed

packages/react-scripts/template/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import logo from './logo.svg';
33
import './App.css';
44

5-
const App = () => {
5+
function App() {
66
return (
77
<div className="App">
88
<header className="App-header">

0 commit comments

Comments
 (0)