blog post and other fixes/additions #124

Merged
freakoverse merged 55 commits from staging into master 2024-11-14 18:26:41 +00:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit 31ee0221b7 - Show all commits

View File

@ -13,10 +13,13 @@ import { scrollIntoView } from 'utils'
export const BlogsPage = () => {
const blogs = useLoaderData() as Partial<BlogCardDetails>[] | undefined
const [filterOptions, setFilterOptions] = useLocalStorage('filter-blog', {
sort: SortBy.Latest,
nsfw: NSFWFilter.Hide_NSFW
})
const [filterOptions, setFilterOptions] = useLocalStorage(
'filter-blog-curated',
{
sort: SortBy.Latest,
nsfw: NSFWFilter.Hide_NSFW
}
)
// Search
const searchTermRef = useRef<HTMLInputElement>(null)

View File

@ -5,3 +5,4 @@ export * from './utils'
export * from './zap'
export * from './localStorage'
export * from './consts'
export * from './blog'