aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/App.js
diff options
context:
space:
mode:
authorRyan Mehri <[email protected]>2020-07-18 22:20:19 -0600
committerGitHub <[email protected]>2020-07-18 22:20:19 -0600
commit31ed54cd210df9784801bbf4c867c4d84b31abc5 (patch)
tree762f5372454cd1af0a5c3123906d35259542fd96 /frontend/src/components/App.js
parentMerge pull request #50 from jackyzha0/cache-invalidation (diff)
parentrefactor viewpaste and fixed button height (diff)
downloadctrl-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.js2
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>