We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5323a27 commit d1f30ebCopy full SHA for d1f30eb
frontend/src/pages/Products/ProductManager/ProductDetail.jsx
@@ -53,7 +53,7 @@ function ProductDetail() {
53
const [showUnitsManager, setShowUnitsManager] = useState(false); // Trạng thái hiển thị Quản lý Đơn vị
54
const [showBarcodeModal, setShowBarcodeModal] = useState(false); // Trạng thái hiển thị modal Barcode
55
const [selectedBarcodeVariant, setSelectedBarcodeVariant] = useState(null); // Variant đang chọn để xem barcode
56
-
+
57
const [, forceUpdate] = useState(0); // Dùng để re-render khi hết 2 phút
58
59
const { units, fetchUnits } = useFetchUnits(); // Tải danh sách đơn vị để truyền cho form quy đổi
0 commit comments