chore: add no unused vars lint rule
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { env } from "process"
|
||||
|
||||
import { Lang } from "@/constants/languages"
|
||||
import { profile } from "@/constants/routes/myPages"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
@@ -53,7 +53,7 @@ export async function POST(request: NextRequest) {
|
||||
|
||||
let tag = ""
|
||||
if (content_type.uid === "hotel_page") {
|
||||
const tag = generateHotelUrlTag(locale, entry.hotel_page_id)
|
||||
tag = generateHotelUrlTag(locale, entry.hotel_page_id)
|
||||
} else {
|
||||
console.error(
|
||||
`Invalid content_type, received ${content_type.uid}, expected "hotel_page"`
|
||||
|
||||
Reference in New Issue
Block a user