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 bff834c commit bc0dbdeCopy full SHA for bc0dbde
packages/browser-sdk/src/client.ts
@@ -279,11 +279,6 @@ export type InitOptions = {
279
* Toolbar configuration
280
*/
281
toolbar?: ToolbarOptions;
282
-
283
- /**
284
- * Local-first definition of features.
285
- */
286
- features?: FeatureDefinitions;
287
};
288
289
const defaultConfig: Config = {
@@ -342,9 +337,7 @@ function shouldShowToolbar(opts: InitOptions) {
342
337
if (typeof toolbarOpts === "boolean") return toolbarOpts;
343
338
if (typeof toolbarOpts?.show === "boolean") return toolbarOpts.show;
344
339
345
- return (
346
- opts.features !== undefined && window?.location?.hostname === "localhost"
347
- );
340
+ return window?.location?.hostname === "localhost";
348
341
}
349
350
/**
0 commit comments