Skip to content

Commit

Permalink
fix: hide MiniLogin in Checkout button when logged
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo Cherblanc authored and Lucanis committed Jan 17, 2024
1 parent c56275c commit 6242152
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function MiniCart({
const focusRef = useRef<HTMLButtonElement>(null);
const { data: cart = {} } = useCartQuery();

const { data: customer } = useCustomer(false);
const { data: customer } = useCustomer(true);
const intl = useIntl();
const [totalQuantityCart, setTotalQuantityCart] = useState(
cart?.items?.length || 0
Expand Down

0 comments on commit 6242152

Please sign in to comment.