This commit is contained in:
hamid zarghami
2025-04-15 17:01:59 +03:30
parent afacc7c488
commit a2e22bfc01
2 changed files with 9 additions and 8 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
'use client'
import { Profile, Calendar } from 'iconsax-react'
import { NextPage } from 'next'
import { FC } from 'react'
import Image from 'next/image'
// import MostVisited from '../components/MostVisited'
import ContactUs from '../components/ContactUs'
@@ -12,7 +12,7 @@ type Props = {
id: string
}
const SingleBlog: NextPage<Props> = ({ id }) => {
const SingleBlogPage: FC<Props> = ({ id }) => {
const { data } = useGetBlogSingle(id)
if (!data) return <div></div>
@@ -99,4 +99,4 @@ const SingleBlog: NextPage<Props> = ({ id }) => {
)
}
export default SingleBlog
export default SingleBlogPage