mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
fix: removed unused code
This commit is contained in:
@ -18,10 +18,6 @@ export const getFlag = async (
|
||||
): Promise<TFeatureFlagValue> => {
|
||||
const requestHeaders = options?.requestHeaders ?? {};
|
||||
|
||||
if (!LOCAL_FEATURE_FLAGS[flag]) {
|
||||
return LOCAL_FEATURE_FLAGS[flag];
|
||||
}
|
||||
|
||||
if (!isFeatureFlagEnabled()) {
|
||||
return LOCAL_FEATURE_FLAGS[flag] ?? true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user