Skip to content

Commit ae4f59c

Browse files
committed
Update Cart.component.tsx
1 parent 5c8d84a commit ae4f59c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Header/Cart.component.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ interface ICartProps {
1515
* Displays amount of items in cart.
1616
*/
1717
const Cart: FC<ICartProps> = ({ stickyNav }) => {
18-
const { cart, setCart, isLoading } = useCartStore();
18+
const { cart, setCart } = useCartStore();
1919

20-
const { loading: queryLoading } = useQuery(GET_CART, {
20+
useQuery(GET_CART, {
2121
notifyOnNetworkStatusChange: true,
2222
onCompleted: (data) => {
2323
const updatedCart = getFormattedCart(data);

0 commit comments

Comments
 (0)