diff --git a/app/soapbox/features/ui/index.tsx b/app/soapbox/features/ui/index.tsx index b136ebdb8..1328999fd 100644 --- a/app/soapbox/features/ui/index.tsx +++ b/app/soapbox/features/ui/index.tsx @@ -29,6 +29,7 @@ import ThumbNavigation from 'soapbox/components/thumb_navigation'; import { Layout } from 'soapbox/components/ui'; import { useAppSelector, useOwnAccount, useSoapboxConfig, useFeatures } from 'soapbox/hooks'; import AdminPage from 'soapbox/pages/admin_page'; +import ChatsPage from 'soapbox/pages/chats-page'; import DefaultPage from 'soapbox/pages/default_page'; // import GroupsPage from 'soapbox/pages/groups_page'; // import GroupPage from 'soapbox/pages/group_page'; @@ -265,8 +266,8 @@ const SwitchingColumnsArea: React.FC = ({ children }) => { {features.suggestions && } {features.profileDirectory && } - {features.chats && } - {features.chats && } + {features.chats && } + {features.chats && } diff --git a/app/soapbox/pages/chats-page.tsx b/app/soapbox/pages/chats-page.tsx new file mode 100644 index 000000000..b822f3d85 --- /dev/null +++ b/app/soapbox/pages/chats-page.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +/** Custom layout for chats on desktop. */ +const ChatsPage: React.FC = ({ children }) => { + return ( +
+ {children} +
+ ); +}; + +export default ChatsPage;