[Glitch] Profile redesign: Remove feature flag

Port ca5c0a144a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2026-04-01 19:33:27 +02:00
1 parent c315d27f3c
commit 73caee93c2
18 files changed
+74 -584

No files matched your search

@@ -6,7 +6,6 @@ import classNames from 'classnames';
import { Link } from 'react-router-dom';
import { useIdentity } from '@/flavours/glitch/identity_context';
import { isServerFeatureEnabled } from '@/flavours/glitch/utils/environment';
import {
fetchRelationships,
followAccount,
@@ -171,23 +170,10 @@ export const FollowButton: React.FC<{
'button--compact': compact,
});
if (isServerFeatureEnabled('profile_redesign')) {
return (
<Link to='/profile/edit' className={buttonClasses}>
{label}
</Link>
);
}
return (
<a
href='/settings/profile'
target='_blank'
rel='noopener'
className={buttonClasses}
>
<Link to='/profile/edit' className={buttonClasses}>
{label}
</a>
</Link>
);
}