Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Oct 21, 2022
1 parent 1165ebe commit 76956fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/leave-behaviour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export async function leaveRoomBehaviour(roomId: string, retry = true, spinner =
dis.dispatch<ViewHomePagePayload>({ action: Action.ViewHomePage });
} else if (SpaceStore.instance.activeSpace === roomId) {
// View the parent space, if there is one
const parent = SpaceStore.instance.getCanonicalParent(roomId)
const parent = SpaceStore.instance.getCanonicalParent(roomId);
if (parent !== null) {
dis.dispatch<ViewRoomPayload>({
action: Action.ViewRoom,
Expand Down

0 comments on commit 76956fd

Please sign in to comment.