webapp/src/components/Pages/FeedPage.tsx
2022-10-28 23:42:28 +02:00

18 lines
385 B
TypeScript

import { MainLayout } from '../Layouts/MainLayout'
import { FeedView } from '../Views/Feed'
import { onCleanup } from 'solid-js'
import { resetSortedArticles } from '../../stores/zine/articles'
export const FeedPage = () => {
onCleanup(() => resetSortedArticles())
return (
<MainLayout>
<FeedView />
</MainLayout>
)
}
// for lazy loading
export default FeedPage