2022-09-22 09:37:49 +00:00
|
|
|
import { MainLayout } from '../Layouts/MainLayout'
|
|
|
|
import { FeedView } from '../Views/Feed'
|
2022-10-28 21:21:47 +00:00
|
|
|
import { onCleanup } from 'solid-js'
|
|
|
|
import { resetSortedArticles } from '../../stores/zine/articles'
|
2022-10-05 15:11:14 +00:00
|
|
|
|
2022-10-28 21:21:47 +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>
|
2022-10-28 21:21:47 +00:00
|
|
|
<FeedView />
|
2022-09-22 09:37:49 +00:00
|
|
|
</MainLayout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
// for lazy loading
|
|
|
|
export default FeedPage
|