We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8d84a commit ae4f59cCopy full SHA for ae4f59c
src/components/Header/Cart.component.tsx
@@ -15,9 +15,9 @@ interface ICartProps {
15
* Displays amount of items in cart.
16
*/
17
const Cart: FC<ICartProps> = ({ stickyNav }) => {
18
- const { cart, setCart, isLoading } = useCartStore();
+ const { cart, setCart } = useCartStore();
19
20
- const { loading: queryLoading } = useQuery(GET_CART, {
+ useQuery(GET_CART, {
21
notifyOnNetworkStatusChange: true,
22
onCompleted: (data) => {
23
const updatedCart = getFormattedCart(data);
0 commit comments