integrate sight
data into /station/show
page
This commit is contained in:
@ -39,7 +39,7 @@ export const SightShow = () => {
|
||||
|
||||
useEffect(() => {
|
||||
axios
|
||||
.get(`${BACKEND_URL}/article/`)
|
||||
.get(`${BACKEND_URL}/article/`) // without "/" throws CORS error
|
||||
.then((response) => {
|
||||
setArticles(response?.data || [])
|
||||
setArticlesLoading(false)
|
||||
|
Reference in New Issue
Block a user