2022-11-13 03:40:37 +00:00
|
|
|
import { PageWrap } from '../Wraps/PageWrap'
|
2022-09-22 09:37:49 +00:00
|
|
|
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 (
|
2022-11-13 03:40:37 +00:00
|
|
|
<PageWrap>
|
2022-10-28 21:21:47 +00:00
|
|
|
<FeedView />
|
2022-11-13 03:40:37 +00:00
|
|
|
</PageWrap>
|
2022-09-22 09:37:49 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
// for lazy loading
|
|
|
|
export default FeedPage
|