Skip to content

Commit

Permalink
카테고리 누락 Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gongdongho12 committed Jul 19, 2020
1 parent 6ed342c commit 84607ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ const App: FunctionComponent<any> = () => {
navigator.geolocation.getCurrentPosition(success, () => {}, locationOptions);
}

axiosInstance.get('/sharing/category')
.then(({ data }) => {
setCategory(data)
})

return () => {
setCategory([])
setLocation({})
Expand Down

0 comments on commit 84607ab

Please sign in to comment.