[Glitch] Profile editing: Use server flag
Port 00bcb014df to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
469076c357
commit
00a423ed2b
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 '@/flavours/glitch/identity_context';
|
||||
import { isClientFeatureEnabled } from '@/flavours/glitch/utils/environment';
|
||||
import { isServerFeatureEnabled } from '@/flavours/glitch/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}
|
||||
|
||||
Reference in new issue
Block a user