fix(SW-769): removed categoryname enum from pointOfInterestSchema and use z.string() instead

This commit is contained in:
Erik Tiekstra
2024-11-19 09:50:34 +01:00
parent 3992529535
commit 1b3999a050
5 changed files with 26 additions and 64 deletions

View File

@@ -2,14 +2,11 @@ import { poiVariants } from "@/components/Maps/Markers/Poi/variants"
import type { VariantProps } from "class-variance-authority"
import {
PointOfInterestCategoryNameEnum,
PointOfInterestGroupEnum,
} from "@/types/hotel"
import type { PointOfInterestGroupEnum } from "@/types/hotel"
export interface PoiMarkerProps extends VariantProps<typeof poiVariants> {
group: PointOfInterestGroupEnum
categoryName?: PointOfInterestCategoryNameEnum
categoryName?: string
size?: number
className?: string
}