From 1fd82f6db645486c7e96b7754d394846fcabd116 Mon Sep 17 00:00:00 2001 From: kaiwenqin <74439654+kaiwenqin@users.noreply.github.com> Date: Fri, 15 Jan 2021 10:14:45 +0800 Subject: [PATCH] fix react-app template logo issue change require('./react.svg') to require('./react.svg').default --- templates/react-app/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/react-app/src/App.js b/templates/react-app/src/App.js index b8908402..e55ba9cb 100644 --- a/templates/react-app/src/App.js +++ b/templates/react-app/src/App.js @@ -9,7 +9,7 @@ class App extends Component {
Edit src/App.js
and save to hot reload your changes.