temp disable unified logs

This commit is contained in:
Joshen Lim committed 2025-07-18 03:47:47 +08:00
1 parent 66b3b98037
commit b7c65aa35c
1 file changed
+3
+3
View File
@@ -14,6 +14,9 @@ export function useFlag<T = boolean>(name: string) {
const store = flagStore.configcat
// [Joshen] Temporarily disable unified logs completely, including feature preview
if (name === 'unifiedLogs') return false
if (!isObjectEmpty(store) && store[name] === undefined) {
console.error(`Flag key "${name}" does not exist in ConfigCat flag store`)
return false