Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ae4f59c

Browse files
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‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /