Profile editing: Use server flag (#38310)

This commit is contained in:
Echo authored and GitHub committed 2026-03-20 13:32:48 +00:00
1 parent 8f9eba9629
commit 00bcb014df
3 files changed
+5 -5

No files matched your search

@@ -6,7 +6,7 @@ import classNames from 'classnames';
import { Link } from 'react-router-dom';
import { useIdentity } from '@/mastodon/identity_context';
import { isClientFeatureEnabled } from '@/mastodon/utils/environment';
import { isServerFeatureEnabled } from '@/mastodon/utils/environment';
import {
fetchRelationships,
followAccount,
@@ -171,7 +171,7 @@ export const FollowButton: React.FC<{
'button--compact': compact,
});
if (isClientFeatureEnabled('profile_editing')) {
if (isServerFeatureEnabled('profile_redesign')) {
return (
<Link to='/profile/edit' className={buttonClasses}>
{label}