Remove hardcode

This commit is contained in:
Joshen Lim committed 2025-09-30 18:20:10 +08:00
1 parent 8e7148deea
commit 8dc82387e3
1 file changed
-2
-2
View File
@@ -166,8 +166,6 @@ export function useFlag<T = boolean>(name: string) {
const store = flagStore.configcat
if (name === 'storageAnalyticsVector') return true
if (!isObjectEmpty(store) && store[name] === undefined) {
console.error(`Flag key "${name}" does not exist in ConfigCat flag store`)
return false