feat(auth/contact/sms): sync contact submissions in admin, refine SMS error logs, trigger Auth Modal on 401 [TASK-13.1, TASK-14.1, TASK-15.1]
This commit is contained in:
1 parent
89c836d7b6
commit
d52d1e57f2
4 files changed
+34
-33
No files matched your search
@@ -9,6 +9,7 @@ import { usePathname, useRouter } from 'next/navigation';
|
||||
|
||||
import CartDrawer from "../components/CartDrawer";
|
||||
import LoginModal from "../components/LoginModal";
|
||||
import AuthModal from "../components/AuthModal";
|
||||
import B2BPortal from "../components/B2BPortal";
|
||||
import { useUserStore } from "../lib/store/userStore";
|
||||
import { useSettingsStore } from "../lib/store/settingsStore";
|
||||
@@ -106,6 +107,10 @@ export default function ClientLayout({ children }: { children: React.ReactNode }
|
||||
petName={advisorData?.name as string | undefined}
|
||||
isAdvisorContext={!!advisorData}
|
||||
/>
|
||||
<AuthModal
|
||||
isOpen={useUserStore(state => state.isAuthModalOpen)}
|
||||
onClose={() => useUserStore.getState().setAuthModalOpen(false)}
|
||||
/>
|
||||
<Toaster position="top-center" expand={true} richColors closeButton />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user