diff --git a/src/app/globals.css b/src/app/globals.css index b004c8c..336fda5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -223,6 +223,16 @@ textarea.place-black::placeholder { direction: rtl; } +/* React Query DevTools - Force LTR */ +[data-react-query-devtools] *, +.tsqd-main-panel, +.tsqd-main-panel *, +[class*="tsqd-"] *, +[class*="react-query-devtools"] * { + direction: ltr !important; + text-align: left !important; +} + .otp div { width: 100%; } diff --git a/src/app/product/components/ShopInformation.tsx b/src/app/product/components/ShopInformation.tsx index 67df80f..b9bf135 100644 --- a/src/app/product/components/ShopInformation.tsx +++ b/src/app/product/components/ShopInformation.tsx @@ -1,7 +1,7 @@ 'use client' import { Button } from '@/components/ui/button' import { Separator } from '@/components/ui/separator' -import { ArchiveTick, BoxTick, I3DRotate } from 'iconsax-react' +import { BoxTick, I3DRotate } from 'iconsax-react' import React from 'react' import { Product } from '@/types/product.types' import Image from 'next/image' @@ -53,16 +53,17 @@ const ShopInformation = ({ product }: ShopInformationProps) => {
- + {warranty.name}
{warranty.name}
+ +
{warranty.duration}
-
-
- -
مدت گارانتی: {warranty.duration}
-
-
diff --git a/src/config/QueryProvider.tsx b/src/config/QueryProvider.tsx index 2cb2501..789034c 100644 --- a/src/config/QueryProvider.tsx +++ b/src/config/QueryProvider.tsx @@ -2,6 +2,7 @@ import { IGeneralError } from '@/types/error.types' import { QueryClient, QueryClientProvider, HydrationBoundary, QueryCache } from '@tanstack/react-query' +import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { ReactNode, useState } from 'react' import { removeToken } from './func' import { useSharedStore } from '@/share/store/sharedStore' @@ -32,6 +33,10 @@ export default function QueryProvider({ children }: { children: ReactNode }) { {children} + ) } \ No newline at end of file