This commit is contained in:
zadit
2024-11-16 23:44:48 +07:00
parent bea0ff63d7
commit b8c1d30d14
26 changed files with 1841 additions and 799 deletions

View File

@@ -40,6 +40,7 @@ function CafePage({
removeConnectedGuestSides,
setModal,
loading,
queue
}) {
const location = useLocation();
const [searchParams] = useSearchParams();
@@ -87,6 +88,7 @@ function CafePage({
}
checkWelcomePageConfig();
}, [welcomePageConfig]);
useEffect(() => {
if (user.cafeId != null && user.cafeId !== shopId) {
// Preserve existing query parameters
@@ -232,7 +234,9 @@ function CafePage({
socket={socket}
shopId={shopId}
user={user}
shopOwnerId={shopOwnerId}
isSpotifyNeedLogin={isSpotifyNeedLogin}
queue={queue}
/>
<ItemTypeLister
user={user}