Profile redesign: Switch to server flag (#37876)
This commit is contained in:
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');
|
||||
|
||||
Reference in new issue
Block a user