Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Don’t show user dropdown for guests
Luke Vella425407a47bd0
diff --git a/apps/web/src/components/user-dropdown.tsx b/apps/web/src/components/user-dropdown.tsxindex b8988106d..6a282801a 100644--- a/apps/web/src/components/user-dropdown.tsx+++ b/apps/web/src/components/user-dropdown.tsx@@ -45,7 +45,7 @@ export const UserDropdown = ({ className }: { className?: string }) => {const isRegistrationEnabled = useFeatureFlag("registration");- if (!user) {+ if (!user || user.isGuest) {return (<div className="flex items-center gap-x-2"><Link