Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change app component declaration from arrow function to regular function #6655

Merged
merged 2 commits into from
Mar 19, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change TypeScript template back to an arrow function
iansu committed Mar 17, 2019

Verified

This commit was signed with the committer’s verified signature. The key has expired.
iansu Ian Sutherland
commit 435d13b1c0aea7d9033ed278f3b9e165a7f7c94e
2 changes: 1 addition & 1 deletion packages/react-scripts/template-typescript/src/App.tsx
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import React from 'react';
import logo from './logo.svg';
import './App.css';

function App(): React.FC {
const App: React.FC = () => {
return (
<div className="App">
<header className="App-header">