From a190f8c301a2806fce681aaf058140ce5b7bfd25 Mon Sep 17 00:00:00 2001 From: Hossein Rahmani Date: Mon, 29 Jan 2024 13:48:16 +0330 Subject: [PATCH] Bugs fixed --- components/ComplainsDetails.tsx | 6 +++--- components/Search.tsx | 8 ++++---- components/TabController.tsx | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/components/ComplainsDetails.tsx b/components/ComplainsDetails.tsx index ab8a72d..ea1d18e 100644 --- a/components/ComplainsDetails.tsx +++ b/components/ComplainsDetails.tsx @@ -247,7 +247,7 @@ export default function ComplainsDetails({ {getComplaintMutation.data && !getComplaintMutation.isPending ? ( <> - + */}
{/* 1 */} @@ -277,7 +277,7 @@ export default function ComplainsDetails({
{/* 2 */}
-
+
{data.user == null ? ( <>
diff --git a/components/Search.tsx b/components/Search.tsx index 19c52ac..b1a6c94 100644 --- a/components/Search.tsx +++ b/components/Search.tsx @@ -4,7 +4,7 @@ import { Input } from "./ui/input"; import { Label } from "./ui/label"; import { Button } from "./ui/button"; import { CiSearch } from "react-icons/ci"; -import { XCircle } from "lucide-react"; +import { X, XCircle } from "lucide-react"; export default function Search({ mode, @@ -36,7 +36,7 @@ export default function Search({ } Cancel(true); }; - + console.log(value); return (
- + ) : ( )} {/*