Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson committed Sep 5, 2024
1 parent d78eda5 commit 7e18a87
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/pages/Product.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-disable react-hooks/exhaustive-deps */
import { lazy, Suspense, useEffect, useState } from "react";
import { Radio, RadioGroup } from "@headlessui/react";
import { lazy, Suspense } from "react";
import { ShoppingBagIcon, UserIcon } from "@heroicons/react/24/outline";
import { ColorsResponse } from "../interfaces";
import ColorPicker from "../components/colorPicker";
const PreviewComponent = lazy(() => import("../components/PreviewComponent"));

Expand All @@ -26,12 +24,7 @@ const product = {
`,
};

function classNames(...classes: string[]) {
return classes.filter(Boolean).join(" ");
}

export default function ProductPage() {
const [selectedColor, setSelectedColor] = useState(product.colors[0]);

return (
<div className="bg-white">
Expand Down

0 comments on commit 7e18a87

Please sign in to comment.