From 42f66915d5ad547dabba63eeb8f73108fd2d03f2 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Sun, 14 Jan 2024 19:39:55 +0000 Subject: [PATCH] Fix prod build --- .eslintrc.cjs | 1 + package.json | 2 +- src/components/ui/carousel.tsx | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 01c24cd..c061075 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -17,6 +17,7 @@ const config = { "@typescript-eslint/array-type": "off", "@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/no-unsafe-assignment": "off", + "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/consistent-type-imports": [ "warn", { diff --git a/package.json b/package.json index 2036757..f8d68dc 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "cmdk": "^0.2.0", "date-fns": "^3.1.0", "drizzle-orm": "^0.29.3", - "embla-carousel-react": "^8.0.0-rc19", + "embla--react": "^8.0.0-rc19", "generate-api-key": "^1.0.2", "http-status-codes": "^2.3.0", "leaflet": "^1.9.4", diff --git a/src/components/ui/carousel.tsx b/src/components/ui/carousel.tsx index 0e05c8d..9ebf04c 100644 --- a/src/components/ui/carousel.tsx +++ b/src/components/ui/carousel.tsx @@ -4,6 +4,9 @@ import * as React from "react"; import useEmblaCarousel, { type UseEmblaCarouselType, } from "embla-carousel-react"; +import { cn } from "@/lib/utils"; +import { Button } from "./button"; +import { ArrowLeft, ArrowRight } from "lucide-react"; type CarouselApi = UseEmblaCarouselType[1]; type UseCarouselParameters = Parameters;