Skip to content

Commit 3f08f30

Browse files
committed
add caller
1 parent a70fc7e commit 3f08f30

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/roam/src/components/settings/utils/accessors.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ export const getFeatureFlag = (key: keyof FeatureFlags): boolean => {
285285
return flags[key];
286286
};
287287

288+
export const isDualReadEnabled = (): boolean => {
289+
return getFeatureFlag("Enable dual read");
290+
};
291+
288292
export const setFeatureFlag = (
289293
key: keyof FeatureFlags,
290294
value: boolean,

0 commit comments

Comments
 (0)