Skip to content

Commit 4744318

Browse files
committed
chore(donation-modal.tsx): remove unused useTheme import to clean up code and reduce bundle size
1 parent a624d14 commit 4744318

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/features/workout-session/ui/donation-modal.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use client";
22

33
import { useEffect, useRef } from "react";
4-
import { useTheme } from "next-themes";
54
import { Heart, X, Code, Server, Coffee, Github } from "lucide-react";
65

76
import { useI18n } from "locales/client";
@@ -15,7 +14,6 @@ interface DonationModalProps {
1514
export function DonationModal({ isOpen, onClose }: DonationModalProps) {
1615
const t = useI18n();
1716
const modalRef = useRef<HTMLDialogElement>(null);
18-
const theme = useTheme();
1917

2018
useEffect(() => {
2119
const modal = modalRef.current;

0 commit comments

Comments
 (0)