diff --git a/renderer/components/timelines/Search.tsx b/renderer/components/timelines/Search.tsx index f290e72b6b..968bea9580 100644 --- a/renderer/components/timelines/Search.tsx +++ b/renderer/components/timelines/Search.tsx @@ -8,6 +8,7 @@ import Statuses from './search/Statuses' import { Account } from '@/db' import Accounts from './search/Accounts' import Hashtags from './search/Hashtags' +import Detail from '../detail/Detail' type Props = { client: MegalodonInterface @@ -65,10 +66,17 @@ export default function Search(props: Props) { } } + const timelineClass = () => { + if (router.query.detail) { + return 'timeline-with-drawer' + } + return 'timeline' + } + return ( <> -