refresh order update
This commit is contained in:
@@ -187,7 +187,7 @@ const ProductDetail = () => {
|
||||
|
||||
/* ---------------- HANDLERS ---------------- */
|
||||
const handleAddToCart = () => {
|
||||
if (user == null) {
|
||||
if (user === null) {
|
||||
router.push('/auth');
|
||||
return;
|
||||
}
|
||||
@@ -354,7 +354,7 @@ const ProductDetail = () => {
|
||||
)}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
if (user == null) {
|
||||
if (user === null) {
|
||||
router.push('/auth');
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user