Profile redesign: Switch to server flag (#37876)

This commit is contained in:
Echo authored and GitHub committed 2026-02-16 13:06:49 +00:00
1 parent f199d7995c
commit f7bf804a3f
4 files changed
+8 -8

No files matched your search

@@ -1,4 +1,4 @@
import { isClientFeatureEnabled } from '@/mastodon/utils/environment';
import { isServerFeatureEnabled } from '@/mastodon/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');