webapp/src/components/Pages/FeedPage.tsx

18 lines
377 B
TypeScript
Raw Normal View History

2022-11-14 17:41:05 +00:00
import { PageWrap } from '../_shared/PageWrap'
2022-09-22 09:37:49 +00:00
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 (
<PageWrap>
<FeedView />
</PageWrap>
2022-09-22 09:37:49 +00:00
)
}
// for lazy loading
export default FeedPage