remove some logs

This commit is contained in:
hamid zarghami
2025-11-06 10:04:45 +03:30
parent 8df0024f88
commit e50206bca4
5 changed files with 3 additions and 27 deletions
+1 -5
View File
@@ -29,11 +29,7 @@ const CartShipping: NextPage = () => {
useEffect(() => {
const savedShipments = localStorage.getItem('selectedShipments')
if (savedShipments) {
try {
setSelectedShipments(JSON.parse(savedShipments))
} catch (error) {
console.error('Error parsing saved shipments:', error)
}
setSelectedShipments(JSON.parse(savedShipments))
}
}, [])