Echo 7c631b9ffb [Glitch] Profile redesign: Account fields grid
Port dcbf7ab8dc74271eb24614369867c9cb430751cd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-02-25 19:11:38 +01:00

13 lines
384 B
TypeScript

import type { AccountFieldShape } from '@/flavours/glitch/models/account';
import { isServerFeatureEnabled } from '@/flavours/glitch/utils/environment';
export function isRedesignEnabled() {
return isServerFeatureEnabled('profile_redesign');
}
export interface AccountField extends AccountFieldShape {
nameHasEmojis: boolean;
value_plain: string;
valueHasEmojis: boolean;
}