feat: update Dockerfile and nginx configuration for improved API routing; modify events API response structure
This commit is contained in:
@@ -257,7 +257,7 @@ export default function EventsPage() {
|
||||
|
||||
useEffect(() => {
|
||||
eventsApi.getEvents(true)
|
||||
.then((res) => setEvents(res.data))
|
||||
.then((res) => setEvents(res.events))
|
||||
.catch(() => setEvents([]))
|
||||
.finally(() => setLoading(false));
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user