webapp/src/components/Pages/FeedPage.tsx

18 lines
374 B
TypeScript
Raw Normal View History

2022-11-12 18:59:29 +00:00
import { MainWrap } from '../Wrap/MainWrap'
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 (
2022-11-12 18:59:29 +00:00
<MainWrap>
<FeedView />
2022-11-12 18:59:29 +00:00
</MainWrap>
2022-09-22 09:37:49 +00:00
)
}
// for lazy loading
export default FeedPage