Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🚩 Remove feature flag
Luke Vellab2ad535d197b
diff --git a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-picture.tsx b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-picture.tsxindex 2acbf5312..d52050601 100644--- a/apps/web/src/app/[locale]/(admin)/settings/profile/profile-picture.tsx+++ b/apps/web/src/app/[locale]/(admin)/settings/profile/profile-picture.tsx@@ -8,7 +8,6 @@ import { useTranslation } from "@/app/i18n/client";import { OptimizedAvatarImage } from "@/components/optimized-avatar-image";import { Trans } from "@/components/trans";import { useUser } from "@/components/user-provider";-import { useAvatarsEnabled } from "@/features/avatars";import { usePostHog } from "@/utils/posthog";import { trpc } from "@/utils/trpc/client";@@ -152,14 +151,9 @@ function RemoveAvatarButton({ onSuccess }: { onSuccess?: () => void }) {function Upload() {const { user, refresh } = useUser();- const isAvatarsEnabled = useAvatarsEnabled();const posthog = usePostHog();- if (!isAvatarsEnabled) {- return null;- }-return (<div className="flex flex-col gap-y-2"><div className="flex gap-2">diff --git a/apps/web/src/features/avatars.ts b/apps/web/src/features/avatars.tsdeleted file mode 100644index a6aaf18a5..000000000--- a/apps/web/src/features/avatars.ts+++ /dev/null@@ -1,5 +0,0 @@-import { useFeatureFlagEnabled } from "posthog-js/react";--export function useAvatarsEnabled() {- return useFeatureFlagEnabled("avatars");-}