import Area from '@components/common/Area.js'; import { LoadingBar } from '@components/common/LoadingBar.js'; import { CartProvider, CartData } from '@components/frontStore/cart/CartContext.js'; import { CustomerProvider, Customer } from '@components/frontStore/customer/CustomerContext.js'; import { Footer } from '@components/frontStore/Footer.js'; import { Header } from '@components/frontStore/Header.js'; import React from 'react'; interface BaseProps { myCart: CartData; customer: Customer; themeConfig: { copyRight: string; }; addMineCartItemApi: string; loginApi: string; logoutApi: string; registerApi: string; } export default function Base({ myCart, customer, themeConfig, addMineCartItemApi, loginApi, logoutApi, registerApi }: BaseProps) { return (