Skip to content

Commit 8d3ecdd

Browse files
Merge pull request #258 from Siddh2024/fix/merge-conflict-artifacts
fix: resolve merge conflict artifacts in 4 page files (closes #256)
2 parents 2884772 + fb711bf commit 8d3ecdd

3 files changed

Lines changed: 6 additions & 24 deletions

File tree

frontend/src/context/ShopContext.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ function ShopContext({ children }) {
302302
removeFromCompare,
303303
comparePanelOpen,
304304
toggleComparePanel,
305-
wishlist,
306-
loadingWishlist,
307-
wishlistError,
305+
wishlist, loadingWishlist, wishlistError,
308306
addToWishlist,
309307
fetchWishlist,
310308
removeFromWishlist,

frontend/src/pages/Order.jsx

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,12 @@ import apiConfig from '../utils/apiConfig';
44
import gsap from 'gsap';
55
import { ScrollTrigger } from 'gsap/ScrollTrigger';
66
import {
7-
FaBox,
8-
FaShoppingBag,
9-
FaShippingFast,
10-
FaCheckCircle,
11-
FaClock,
12-
FaMapMarkerAlt,
13-
FaUndo,
14-
FaCalendarAlt,
15-
FaMoneyBillWave,
16-
FaStar,
7+
FaBox, FaShoppingBag, FaShippingFast, FaCheckCircle,
8+
FaClock, FaMapMarkerAlt, FaUndo, FaCalendarAlt, FaMoneyBillWave, FaStar,
179
} from 'react-icons/fa';
1810
import { GiReceiveMoney } from 'react-icons/gi';
1911
import Title from '../components/Title';
20-
import {
21-
LoadingState,
22-
EmptyState,
23-
ErrorState,
24-
} from '../components/StateComponents';
12+
import { LoadingState, EmptyState, ErrorState } from '../components/StateComponents';
2513

2614
gsap.registerPlugin(ScrollTrigger);
2715

frontend/src/pages/wishlist.jsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ import { FaHeart, FaTrash } from 'react-icons/fa';
1010

1111
function Wishlist() {
1212
const {
13-
wishlist,
14-
fetchWishlist,
15-
currency,
16-
removeFromWishlist,
17-
loadingWishlist,
18-
wishlistError,
13+
wishlist, fetchWishlist, currency, removeFromWishlist,
14+
loadingWishlist, wishlistError,
1915
} = useContext(shopDataContext);
2016

2117
const navigate = useNavigate();

0 commit comments

Comments
 (0)