Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
vys69 committed Sep 10, 2024
1 parent 6512b34 commit 1140412
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/app/cart/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Cart() {
const [selectedState, setSelectedState] = useState<string | null>(null)
const [isModalOpen, setIsModalOpen] = useState(false)
const [modalAction, setModalAction] = useState<'back' | 'clear'>('back')
const [originalItems, setOriginalItems] = useState<GroceryItem[]>([])
const [originalItems] = useState<GroceryItem[]>([])
const listRef = useRef<HTMLUListElement>(null)
const itemNameInputRef = useRef<HTMLInputElement>(null)
const itemPriceInputRef = useRef<HTMLInputElement>(null)
Expand Down Expand Up @@ -272,7 +272,6 @@ export default function Cart() {
side="bottom"
steps={16}
strength={32}
children={<div className="absolute inset-0 bg-white"></div>}
tint="rgba(255, 255, 255, 1)"
style={{
position: "absolute",
Expand Down
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const geistSans = localFont({
variable: "--font-geist-sans",
weight: "100 900",
});

const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
Expand All @@ -25,9 +26,8 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<head />
<body>
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
<body className="font-sans">
<main>{children}</main>
<Toaster />
</body>
Expand Down

0 comments on commit 1140412

Please sign in to comment.