File "empty-cart-style.js"

Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/woocommerce/assets/client/blocks/mini-cart-contents-block/empty-cart-style.js
File size: 564 bytes
MIME-type: text/plain
Charset: utf-8

"use strict";(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[8513],{40396:(e,c,a)=>{a.r(c),a.d(c,{default:()=>n});var s=a(99196),t=a(69659),l=a(69307);const n=({children:e,className:c})=>{const{cartItems:a,cartIsLoading:n}=(0,t.b)(),r=(0,l.useRef)(null);return(0,l.useEffect)((()=>{var e;0!==a.length||n||null===(e=r.current)||void 0===e||e.focus()}),[a,n]),n||a.length>0?null:(0,s.createElement)("div",{tabIndex:-1,ref:r,className:c},(0,s.createElement)("div",{className:"wc-block-mini-cart__empty-cart-wrapper"},e))}}}]);