mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
Conform more code to strictNullChecks (#10444
* Conform more code to `strictNullChecks` * Fix tests * Fix tests
This commit is contained in:
committed by
GitHub
parent
ba2608ec74
commit
c225b8ec29
@@ -75,8 +75,8 @@ export const usePermalinkEvent = (
|
||||
const fetchRoomEvent = async (): Promise<void> => {
|
||||
try {
|
||||
const eventData = await MatrixClientPeg.get().fetchRoomEvent(
|
||||
parseResult.roomIdOrAlias,
|
||||
parseResult.eventId,
|
||||
parseResult.roomIdOrAlias!,
|
||||
parseResult.eventId!,
|
||||
);
|
||||
setEvent(new MatrixEvent(eventData));
|
||||
} catch {}
|
||||
|
||||
Reference in New Issue
Block a user