webapp/src/components/Pages/FeedPage.tsx

18 lines
385 B
TypeScript
Raw Normal View History

2022-09-22 09:37:49 +00:00
import { MainLayout } from '../Layouts/MainLayout'
import { FeedView } from '../Views/Feed'
import { onCleanup } from 'solid-js'
import { resetSortedArticles } from '../../stores/zine/articles'
2022-10-05 15:11:14 +00:00
export const FeedPage = () => {
2022-10-05 15:11:14 +00:00
onCleanup(() => resetSortedArticles())
2022-09-22 09:37:49 +00:00
return (
<MainLayout>
<FeedView />
2022-09-22 09:37:49 +00:00
</MainLayout>
)
}
// for lazy loading
export default FeedPage