Fix bug in screen

This commit is contained in:
2025-12-04 08:36:48 +01:00
parent 5bcee2ea9d
commit 24f8d67020
2 changed files with 3 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ export class MatrixApiEvent {
await APIClient.exec({ await APIClient.exec({
method: "GET", method: "GET",
uri: uri:
`/matrix/room/${encodeURIComponent(room.id)}/events?limit=400` + `/matrix/room/${encodeURIComponent(room.id)}/events?limit=200` +
(from ? `&from=${from}` : ""), (from ? `&from=${from}` : ""),
}) })
).data as MatrixEventsList; ).data as MatrixEventsList;

View File

@@ -41,7 +41,8 @@ export function MatrixAuthCallback(): React.ReactElement {
}; };
load(); load();
}, [code, info, navigate, snackbar, state]); // eslint-disable-next-line react-hooks/exhaustive-deps
}, [code, state]);
if (error) if (error)
return ( return (