diff --git a/src/components/generic/Modal.tsx b/src/components/generic/Modal.tsx index b2866387..cff34ed8 100644 --- a/src/components/generic/Modal.tsx +++ b/src/components/generic/Modal.tsx @@ -4,8 +4,6 @@ import { m } from 'framer-motion'; import { useAppSelector } from '@hooks/useAppSelector'; -// import { Backdrop } from './Backdrop'; - type DefaultDivProps = JSX.IntrinsicElements['div']; export interface ModalProps extends DefaultDivProps { @@ -22,11 +20,11 @@ export const Modal = ({ const darkMode = useAppSelector((state) => state.app.darkMode); return ( - - + + {open && ( -
+
{ close(); diff --git a/src/components/layout/index.tsx b/src/components/layout/index.tsx index 8452039c..79a6461c 100644 --- a/src/components/layout/index.tsx +++ b/src/components/layout/index.tsx @@ -23,7 +23,7 @@ export const Layout = ({ return (
-
+
{title} diff --git a/src/pages/Extensions/Info.tsx b/src/pages/Extensions/Info.tsx index 1b71b8b8..095272e1 100644 --- a/src/pages/Extensions/Info.tsx +++ b/src/pages/Extensions/Info.tsx @@ -21,21 +21,21 @@ export const Info = (): JSX.Element => { ); return ( -
+
-
+
{node?.user?.longName || 'Unknown'}
-
- +
+
); diff --git a/src/pages/Messages/index.tsx b/src/pages/Messages/index.tsx index f716c797..0fc1f196 100644 --- a/src/pages/Messages/index.tsx +++ b/src/pages/Messages/index.tsx @@ -37,7 +37,7 @@ export const Messages = (): JSX.Element => { title="Message Groups" icon={} sidebarContents={ -
+
{channels.map((channel) => ( { }} actions={} />} > -
+
{channel.channel.role === Protobuf.Channel_Role.PRIMARY ? ( @@ -64,7 +64,7 @@ export const Messages = (): JSX.Element => {
{channel.messages.length ? ( <> -
+
{[ ...new Set( channel.messages.flatMap(({ message }) => [ @@ -107,10 +107,10 @@ export const Messages = (): JSX.Element => {
} > -
-
-
- +
+
+
+ } />
{channels[channelIndex]?.channel.settings?.name.length ? channels[channelIndex]?.channel.settings?.name @@ -123,7 +123,7 @@ export const Messages = (): JSX.Element => {
{channels[channelIndex]?.messages.map((message, index) => (