diff options
| author | Ryan Mehri <[email protected]> | 2020-07-18 22:20:19 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-18 22:20:19 -0600 |
| commit | 31ed54cd210df9784801bbf4c867c4d84b31abc5 (patch) | |
| tree | 762f5372454cd1af0a5c3123906d35259542fd96 /frontend/src/components/App.js | |
| parent | Merge pull request #50 from jackyzha0/cache-invalidation (diff) | |
| parent | refactor viewpaste and fixed button height (diff) | |
| download | ctrl-v-31ed54cd210df9784801bbf4c867c4d84b31abc5.tar.xz ctrl-v-31ed54cd210df9784801bbf4c867c4d84b31abc5.zip | |
Merge pull request #52 from jackyzha0/refactor-react
Refactor to use functional components instead of class components
Diffstat (limited to 'frontend/src/components/App.js')
| -rw-r--r-- | frontend/src/components/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/App.js b/frontend/src/components/App.js index ae95dcb..0a5fb8b 100644 --- a/frontend/src/components/App.js +++ b/frontend/src/components/App.js @@ -38,7 +38,7 @@ const GetRawWithParam = () => { ); } -function App() { +const App = () => { return ( <Router> <Switch> |