From 7a1dd7768ac39edcdd7cb3e4f11e19e33e65a5d7 Mon Sep 17 00:00:00 2001 From: giancarlo Date: Thu, 9 May 2024 10:46:00 +0700 Subject: [PATCH] Updated zod; Fix issue displaying mode toggle in site header when disabled --- .../site-header-account-section.tsx | 5 +- apps/web/package.json | 2 +- packages/billing/core/package.json | 2 +- packages/billing/gateway/package.json | 2 +- packages/billing/lemon-squeezy/package.json | 2 +- packages/billing/stripe/package.json | 2 +- packages/cms/keystatic/package.json | 2 +- packages/database-webhooks/package.json | 2 +- packages/features/accounts/package.json | 2 +- packages/features/admin/package.json | 2 +- packages/features/auth/package.json | 2 +- packages/features/team-accounts/package.json | 2 +- packages/mailers/package.json | 2 +- packages/monitoring/baselime/package.json | 2 +- packages/next/package.json | 2 +- packages/supabase/package.json | 2 +- packages/ui/package.json | 2 +- pnpm-lock.yaml | 70 +++++++++---------- 18 files changed, 55 insertions(+), 52 deletions(-) diff --git a/apps/web/app/(marketing)/_components/site-header-account-section.tsx b/apps/web/app/(marketing)/_components/site-header-account-section.tsx index 0f1f4c030..900302f5c 100644 --- a/apps/web/app/(marketing)/_components/site-header-account-section.tsx +++ b/apps/web/app/(marketing)/_components/site-header-account-section.tsx @@ -11,6 +11,7 @@ import { PersonalAccountDropdown } from '@kit/accounts/personal-account-dropdown import { useSignOut } from '@kit/supabase/hooks/use-sign-out'; import { useUser } from '@kit/supabase/hooks/use-user'; import { Button } from '@kit/ui/button'; +import { If } from '@kit/ui/if'; import { Trans } from '@kit/ui/trans'; import featuresFlagConfig from '~/config/feature-flags.config'; @@ -69,7 +70,9 @@ function AuthButtons() { return (
- + + +