We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d4c40b commit dd00ea2Copy full SHA for dd00ea2
package.json
@@ -23,7 +23,7 @@
23
"dayjs": "^1.11.0",
24
"diff": "^5.0.0",
25
"diff2html": "^3.4.17",
26
- "featureprobe-client-sdk-js": "^1.1.1",
+ "featureprobe-client-sdk-js": "^1.1.2",
27
"json-bigint": "^1.0.0",
28
"jsonlint-mod": "^1.7.6",
29
"less-loader": "^7.3.0",
src/router/index.tsx
@@ -43,8 +43,6 @@ const Router = () => {
43
44
window.FP = FP;
45
46
- FP.start();
47
-
48
FP.on('ready', () => {
49
const result = FP.boolValue('demo_features', false);
50
localStorage.setItem('isDemo', result.toString());
@@ -56,6 +54,8 @@ const Router = () => {
56
54
setIsLoading(false);
57
55
initRedirectUrl();
58
});
+
+ FP.start();
59
}
60
}, [initRedirectUrl]);
61
0 commit comments