File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/[lang]/detail/[...slug] Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { ImageDetail } from '@/components/ImageDetail' ;
2
2
import { hl } from '@/lib/hl' ;
3
3
import {
4
- queryImageDetailTags ,
5
4
queryImageDetailWithTag ,
6
5
queryImageOrgDetailWithTag ,
6
+ queryImageTags ,
7
7
} from '@/lib/images' ;
8
8
import { Metadata } from 'next' ;
9
9
@@ -22,7 +22,7 @@ export async function generateMetadata({ params }: DetailProps) {
22
22
}
23
23
24
24
export default async function Detail ( { params : { slug } } : DetailProps ) {
25
- const tags = await queryImageDetailTags ( decodeURIComponent ( slug [ 1 ] ) ) ;
25
+ const tags = await queryImageTags ( decodeURIComponent ( slug [ 1 ] ) ) ;
26
26
const details = await queryImageDetailWithTag (
27
27
decodeURIComponent ( slug [ 1 ] ) ,
28
28
) . then ( async ( response ) => {
You can’t perform that action at this time.
0 commit comments