diff --git a/app/client/.storybook/config.js b/app/client/.storybook/config.js index a73e36cda6..5fea975677 100644 --- a/app/client/.storybook/config.js +++ b/app/client/.storybook/config.js @@ -2,6 +2,8 @@ import { configure, addDecorator, addParameters } from "@storybook/react"; import { withContexts } from "@storybook/addon-contexts/react"; import { contexts } from "./configs/contexts"; import { } from '@storybook/react'; // <- or your storybook framework +import "../src/index.css"; + addDecorator(withContexts(contexts)); addParameters({ diff --git a/app/client/package.json b/app/client/package.json index 4ea39be357..e17e64f269 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -19,7 +19,6 @@ "@sentry/browser": "^5.6.3", "@sentry/webpack-plugin": "^1.10.0", "@types/chance": "^1.0.7", - "@types/fontfaceobserver": "^0.0.6", "@types/lodash": "^4.14.120", "@types/moment-timezone": "^0.5.10", "@types/nanoid": "^2.0.0", @@ -52,7 +51,6 @@ "eslint": "^6.4.0", "fast-deep-equal": "^3.1.1", "flow-bin": "^0.91.0", - "fontfaceobserver": "^2.1.0", "fuse.js": "^3.4.5", "fusioncharts": "^3.15.0-sr.1", "history": "^4.10.1", @@ -200,4 +198,4 @@ "pre-commit": "lint-staged" } } -} +} \ No newline at end of file diff --git a/app/client/public/index.html b/app/client/public/index.html index 5c9057683b..8086d8ef28 100755 --- a/app/client/public/index.html +++ b/app/client/public/index.html @@ -4,7 +4,6 @@ - Appsmith