diff --git a/apps/admin-x-activitypub/src/components/Activities.tsx b/apps/admin-x-activitypub/src/components/Activities.tsx index 14363cea24..bbca25e7e7 100644 --- a/apps/admin-x-activitypub/src/components/Activities.tsx +++ b/apps/admin-x-activitypub/src/components/Activities.tsx @@ -9,7 +9,7 @@ const Activities: React.FC = ({}) => { // const fakeAuthor = return ( <> - +
diff --git a/apps/admin-x-activitypub/src/components/Inbox.tsx b/apps/admin-x-activitypub/src/components/Inbox.tsx index e49eab6545..879b162b9f 100644 --- a/apps/admin-x-activitypub/src/components/Inbox.tsx +++ b/apps/admin-x-activitypub/src/components/Inbox.tsx @@ -6,7 +6,7 @@ import NiceModal from '@ebay/nice-modal-react'; import React, {useState} from 'react'; import {Activity} from './activities/ActivityItem'; import {ActorProperties, ObjectProperties} from '@tryghost/admin-x-framework/api/activitypub'; -import {Button, Heading, Select, SelectOption, Tooltip} from '@tryghost/admin-x-design-system'; +import {Button, Heading} from '@tryghost/admin-x-design-system'; import {useBrowseInboxForUser} from '../MainContent'; interface InboxProps {} @@ -33,44 +33,14 @@ const Inbox: React.FC = ({}) => { }); }; - const selectOptions: SelectOption[] = [ - {value: 'option-1', label: 'Home'}, - {value: 'option-2', label: 'Posts'}, - {value: 'option-3', label: 'Notes'}, - {value: 'option-4', label: 'Media'} - ]; - - const defaultValue: SelectOption = { - value: 'option-1', label: 'Home' - }; - - const controlClasses = { - control: '!bg-transparent !hidden mr-2 !pl-0 text-xl font-bold', - menu: '!min-w-[120px]' + const handleLayoutChange = (newLayout: string) => { + setLayout(newLayout); }; return ( <> - -
-
-