diff --git a/src/components/Feed/Sidebar.tsx b/src/components/Feed/Sidebar.tsx index 09dac4a8..d930fb78 100644 --- a/src/components/Feed/Sidebar.tsx +++ b/src/components/Feed/Sidebar.tsx @@ -6,14 +6,14 @@ import { t } from '../../utils/intl' import { Icon } from '../Nav/Icon' import { useTopicsStore } from '../../stores/zine/topics' import { useArticlesStore } from '../../stores/zine/articles' -import { useSeenStore } from '../../stores/zine/seen' +import { seen } from '../../stores/zine/seen' type FeedSidebarProps = { authors: Author[] } export const FeedSidebar = (props: FeedSidebarProps) => { - const { getSeen: seen } = useSeenStore() + const getSeen = seen const { session } = useAuthStore() const { authorEntities } = useAuthorsStore({ authors: props.authors }) const { articlesByTopic } = useArticlesStore() diff --git a/src/components/Pages/LayoutShoutsPage.tsx b/src/components/Pages/LayoutShoutsPage.tsx index a8566c3d..f85128ee 100644 --- a/src/components/Pages/LayoutShoutsPage.tsx +++ b/src/components/Pages/LayoutShoutsPage.tsx @@ -17,7 +17,7 @@ export const LayoutShoutsPage = (props: PageProps) => { const page = getPage() - if (page.route !== 'layout') { + if (page.route !== 'expo') { throw new Error('ts guard') }