From 102b1c0c4bdb64df5ef34823e29f446eda9d3feb Mon Sep 17 00:00:00 2001 From: Shea Duma Date: Thu, 23 Apr 2026 16:54:27 +0300 Subject: [PATCH] fix more checks :smile: --- src/app/hooks/useSableCosmetics.ts | 3 ++- src/app/hooks/useUserProfile.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/hooks/useSableCosmetics.ts b/src/app/hooks/useSableCosmetics.ts index e757e7a69..40c80d128 100644 --- a/src/app/hooks/useSableCosmetics.ts +++ b/src/app/hooks/useSableCosmetics.ts @@ -1,5 +1,6 @@ import { useMemo } from 'react'; -import { IContent, Room } from '$types/matrix-sdk'; +import type { IContent } from '$types/matrix-sdk'; +import { Room } from '$types/matrix-sdk'; import { usePowerLevels } from './usePowerLevels'; import { useRoomCreators } from './useRoomCreators'; import { useAccessiblePowerTagColors, useGetMemberPowerTag } from './useMemberPowerTag'; diff --git a/src/app/hooks/useUserProfile.ts b/src/app/hooks/useUserProfile.ts index f05c8b393..04b9f5803 100644 --- a/src/app/hooks/useUserProfile.ts +++ b/src/app/hooks/useUserProfile.ts @@ -8,7 +8,7 @@ import colorMXID from '$utils/colorMXID'; import { profilesCacheAtom } from '$state/userRoomProfile'; import { useSetting } from '$state/hooks/settings'; import { settingsAtom } from '$state/settings'; -import { MSC1767Text } from '$types/matrix/common'; +import type { MSC1767Text } from '$types/matrix/common'; import { areColorsTooSimilar, shadeColor } from '$utils/shadeColor'; import type { PronounSet } from '$utils/pronouns'; import { useMatrixClient } from './useMatrixClient';