Skip to content

Commit 3f02981

Browse files
authored
fixed event retrieval (#10)
1 parent 2a09fe3 commit 3f02981

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/components/EventsContext/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function EventsProvider({ children }: { children: ReactNode }) {
2828
setError(null);
2929
try {
3030
const api = new EventsApi(new Configuration({ basePath: config.apiBaseUrl }));
31-
const data = await api.apiV1EventsGet({ rsvpOnly: true, upcomingOnly: true });
31+
const data = await api.apiV1EventsGet({ rsvpOnly: true });
3232
setEvents(data);
3333
} catch (err) {
3434
setError(toApiError(err));

src/components/LoginComponent/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import {
44
Group,
55
PaperProps,
66
Center,
7-
Alert,
8-
Title,
97
} from "@mantine/core";
10-
import { IconLock } from "@tabler/icons-react";
118
import { useSearchParams } from "react-router-dom";
129

1310
import { AcmLoginButton } from "./AcmLoginButton.js";

0 commit comments

Comments
 (0)