change base url

This commit is contained in:
hamid zarghami
2025-04-15 17:11:20 +03:30
parent a2e22bfc01
commit cf652787b8
2 changed files with 4 additions and 4 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
import { dehydrate, HydrationBoundary, QueryClient } from '@tanstack/react-query'
import { blogSingleQueryOptions } from '../hooks/useBlogsData'
// import SingleBlogPage from '../components/SingleBlogPage'
import { NextPage } from 'next'
import SingleBlogPage from '../components/SingleBlogPage'
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const SingleBlog: NextPage<any> = async ({ params }) => {
@@ -11,8 +11,7 @@ const SingleBlog: NextPage<any> = async ({ params }) => {
await queryClient.prefetchQuery(blogSingleQueryOptions(params.id))
return (
<HydrationBoundary state={dehydrate(queryClient)}>
{/* <SingleBlogPage id={params.id} /> */}
<div></div>
<SingleBlogPage id={params.id} />
</HydrationBoundary>
)
}