link
This commit is contained in:
@@ -6,9 +6,11 @@ import BigBlogItem from './BigBlogItem'
|
||||
import MostVisited from './MostVisited'
|
||||
import ContactUs from './ContactUs'
|
||||
import { useGetBlogs } from '../hooks/useBlogsData'
|
||||
import { useBlogStore } from '../store/BlogStore'
|
||||
const BlogList: FC = () => {
|
||||
|
||||
const { data } = useGetBlogs()
|
||||
const { selectedCategory } = useBlogStore()
|
||||
const { data } = useGetBlogs(selectedCategory)
|
||||
|
||||
return (
|
||||
<div className=''>
|
||||
|
||||
Reference in New Issue
Block a user