Skip to content

Commit 362534b

Browse files
committed
fix: use import type for Room in GlobalKeyboardShortcuts
1 parent 86cd9b6 commit 362534b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/components/GlobalKeyboardShortcuts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { HOME_ROOM_PATH, DIRECT_ROOM_PATH, SPACE_ROOM_PATH } from '$pages/paths'
2121
import { getCanonicalAliasOrRoomId } from '$utils/matrix';
2222
import { announce } from '$utils/announce';
2323
import { roomIdToReplyDraftAtomFamily } from '$state/room/roomInputDrafts';
24-
import { Room } from 'matrix-js-sdk';
24+
import type { Room } from 'matrix-js-sdk';
2525

2626
export function GlobalKeyboardShortcuts() {
2727
const navigate = useNavigate();

0 commit comments

Comments
 (0)