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';