https://www.growthbook.io/ logo
b

broad-megabyte-61529

08/03/2022, 12:07 AM
I have a navbar location I want to hide based on this flag
lead-pipeline
however even though the navbar is in the context of the
GrowthBookProvider
the
useFeature
hook returns an
unknownFeature
-- any suggestions for debugging?
f

fresh-football-47124

08/03/2022, 12:42 AM
Hi Michael
Are you using the JS or React SDK?
b

broad-megabyte-61529

08/03/2022, 12:58 AM
I figured it out -- I needed to unpack my json object i.e.
response
vs.
response.features
hehe
f

fresh-football-47124

08/03/2022, 12:59 AM
ah
b

broad-megabyte-61529

08/03/2022, 12:59 AM
😆
@fresh-football-47124 the chrome extension is borked for me though
f

fresh-football-47124

08/03/2022, 1:11 AM
is it throwing any errors?
did refreshing help?
b

broad-megabyte-61529

08/03/2022, 1:42 AM
not seeing any errors -- refreshing didn't help