diondiondion 46c83fc91d [Glitch] Add "My collections" page
Port a1acf8f4bcc0ffb03c7bc0dc7f83b8b98426542e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-01-23 18:10:20 +01:00

12 lines
255 B
TypeScript

import {
isClientFeatureEnabled,
isServerFeatureEnabled,
} from '@/flavours/glitch/utils/environment';
export function areCollectionsEnabled() {
return (
isClientFeatureEnabled('collections') &&
isServerFeatureEnabled('collections')
);
}