[Glitch] Profile redesign: Switch to server flag

Port f7bf804a3f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2026-02-16 18:27:42 +01:00
1 parent 02ad266b81
commit df9d9423b9
4 files changed
+8 -8

No files matched your search

@@ -1,4 +1,4 @@
import { isClientFeatureEnabled } from '@/flavours/glitch/utils/environment';
import { isServerFeatureEnabled } from '@/flavours/glitch/utils/environment';
export function EmojiPicker () {
return import('../../emoji/emoji_picker');
@@ -73,7 +73,7 @@ export function PinnedStatuses () {
}
export function AccountTimeline () {
if (isClientFeatureEnabled('profile_redesign')) {
if (isServerFeatureEnabled('profile_redesign')) {
return import('../../account_timeline/v2');
}
return import('../../account_timeline');