fixed some bugs

This commit is contained in:
Jelaletdin12
2025-12-23 13:32:57 +05:00
parent cdc9fa686f
commit 2b46d525f2
30 changed files with 857 additions and 260 deletions

View File

@@ -1,5 +1,5 @@
import Link from "next/link";
import { Minus, Plus, Heart, ShoppingCart, Store, Loader2 } from "lucide-react";
import { Minus, Plus, Heart, ShoppingCart, Store } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
import { Avatar, AvatarFallback } from "@/components/ui/avatar";
@@ -131,7 +131,7 @@ export function ProductPurchaseCard({
>
{isSyncing ? (
<>
<Loader2 className="mr-2 h-5 w-5 animate-spin" />
{t("adding")}
</>
) : (

View File

@@ -1,5 +1,5 @@
import { useState } from "react";
import { Star, Send, Loader2 } from "lucide-react";
import { Star, Send } from "lucide-react";
import {
Dialog,
DialogContent,
@@ -107,7 +107,7 @@ export function ReviewModal({
>
{isSubmitting ? (
<>
<Loader2 className="mr-2 h-4 w-4 animate-spin" />
{t("submitting")}
</>
) : (