integrate sight data into /station/show page

This commit is contained in:
maxim
2025-02-14 00:34:26 +03:00
parent bf72f78020
commit 5d3c6fe7f9
3 changed files with 150 additions and 5 deletions

View File

@ -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)