diff --git a/src/hooks/useModal/index.tsx b/src/hooks/useModal/index.tsx index 3b2518fba..18f07c738 100644 --- a/src/hooks/useModal/index.tsx +++ b/src/hooks/useModal/index.tsx @@ -1,7 +1,7 @@ import React, { useState, useCallback, ReactElement, createContext, useMemo, useContext } from 'react'; import { match } from 'ts-pattern'; -import { noop } from '../../utils/utils'; +import { classnames, noop } from '../../utils/utils'; import Modal, { type ModalProps } from '../../ui/Modal'; export type OpenGlobalModalProps = { @@ -39,7 +39,7 @@ export const GlobalModalProvider = ({ children }: GlobalModalProviderProps) => { return ( { modalProps?.onClose?.(); closeModal(); diff --git a/src/modules/App/DesktopLayout.tsx b/src/modules/App/DesktopLayout.tsx index 3787cd889..0eed0ddba 100644 --- a/src/modules/App/DesktopLayout.tsx +++ b/src/modules/App/DesktopLayout.tsx @@ -12,6 +12,7 @@ import ChannelSettings from '../ChannelSettings'; import MessageSearchPannel from '../MessageSearch'; import Thread from '../Thread'; import { SendableMessageType } from '../../utils'; +import { classnames } from '../../utils/utils'; export const DesktopLayout: React.FC = (props: DesktopLayoutProps) => { const { @@ -113,11 +114,11 @@ export const DesktopLayout: React.FC = (props: DesktopLayout {enableLegacyChannelModules ? : }
{enableLegacyChannelModules ? : }
diff --git a/src/modules/GroupChannel/components/FrozenNotification/index.tsx b/src/modules/GroupChannel/components/FrozenNotification/index.tsx index 1ec5ce319..1c898fa08 100644 --- a/src/modules/GroupChannel/components/FrozenNotification/index.tsx +++ b/src/modules/GroupChannel/components/FrozenNotification/index.tsx @@ -3,6 +3,7 @@ import React, { useContext } from 'react'; import { LocalizationContext } from '../../../../lib/LocalizationContext'; import Label, { LabelTypography } from '../../../../ui/Label'; +import { classnames } from '../../../../utils/utils'; export interface FrozenNotificationProps { className?: string; @@ -13,7 +14,7 @@ export const FrozenNotification = ({ }: FrozenNotificationProps): React.ReactElement => { const { stringSet } = useContext(LocalizationContext); return ( -
+