mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
Remove hardcode
This commit is contained in:
1 parent
8e7148deea
commit
8dc82387e3
1 file changed
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user