File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import { useFPClient } from 'featureprobe-client-sdk-react' ;
22
3-
43function HookComponent ( ) {
54 const client = useFPClient ( ) ;
65 return (
76 < div style = { { marginTop : '20px' } } >
87 < div > Hook</ div >
9- < samp > { `console.log(JSON.stringify(client.boolDetail('demo_features ')))` } </ samp >
10- < div > { JSON . stringify ( client . boolDetail ( 'demo_features ' ) ) } </ div >
8+ < samp > { `console.log(JSON.stringify(client.boolDetail('campaign_allow_list ')))` } </ samp >
9+ < div > { JSON . stringify ( client . boolDetail ( 'campaign_allow_list ' ) ) } </ div >
1110 </ div >
1211 ) ;
1312}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import './index.css';
99 const FPProvider = await AsyncFPProvider ( {
1010 togglesUrl : window . location . origin + '/server/api/client-sdk/toggles' ,
1111 eventsUrl : window . location . origin + '/server/api/events' ,
12- clientSdkKey : 'client-29765c7e03e9cb49c0e96357b797b1e47e7f2dee ' ,
12+ clientSdkKey : 'client-f0181852abb20940113fb22f6efd9297cbd05577 ' ,
1313 user : new FPUser ( ) ,
1414 refreshInterval : 3000 ,
1515 } ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function App() {
1010 config = { {
1111 togglesUrl : window . location . origin + '/server/api/client-sdk/toggles' ,
1212 eventsUrl : window . location . origin + '/server/api/events' ,
13- clientSdkKey : 'client-29765c7e03e9cb49c0e96357b797b1e47e7f2dee ' ,
13+ clientSdkKey : 'client-f0181852abb20940113fb22f6efd9297cbd05577 ' ,
1414 user : new FPUser ( ) ,
1515 refreshInterval : 3000 ,
1616 } }
You can’t perform that action at this time.
0 commit comments