[Glitch] Remove frontend check for collections feature flag
Port 7fba458d92 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
bc9732c26c
commit
ac0bacbcc0
9 files changed
+98
-144
No files matched your search
@@ -12,7 +12,7 @@ export function isProduction() {
|
||||
else return import.meta.env.PROD;
|
||||
}
|
||||
|
||||
export type ServerFeatures = 'fasp' | 'collections';
|
||||
export type ServerFeatures = 'fasp';
|
||||
|
||||
export function isServerFeatureEnabled(feature: ServerFeatures) {
|
||||
return initialState?.features.includes(feature) ?? false;
|
||||
|
||||
Reference in new issue
Block a user