From 2cf1224107b7a4f8fe48a7c9d7f0ea7e5133eefd Mon Sep 17 00:00:00 2001
From: Arda Samadi
Date: Mon, 13 Jul 2026 15:09:01 +0330
Subject: [PATCH] change(size-chart): centimeter only (drop cm/inch toggle)
Co-Authored-By: Claude Opus 4.8
---
app/components/store/SizeChartSection.tsx | 27 ++---------------------
1 file changed, 2 insertions(+), 25 deletions(-)
diff --git a/app/components/store/SizeChartSection.tsx b/app/components/store/SizeChartSection.tsx
index 19cbb9a..bd367ea 100644
--- a/app/components/store/SizeChartSection.tsx
+++ b/app/components/store/SizeChartSection.tsx
@@ -20,11 +20,6 @@ interface SizeChartSectionProps {
showError?: boolean;
}
-const UNITS: { value: string; label: string }[] = [
- { value: "cm", label: "سانتیمتر" },
- { value: "inch", label: "اینچ" },
-];
-
export function SizeChartSection({
value,
onChange,
@@ -171,26 +166,8 @@ export function SizeChartSection({
)}
- {/* Unit toggle */}
-
-
واحد اندازهگیری
-
- {UNITS.map((u) => (
-
- ))}
-
+
+ اندازهها به سانتیمتر
{/* Grid */}