Skip to content

Commit

Permalink
chore(storybook): remove storybook-addon-performance addon
Browse files Browse the repository at this point in the history
This reverts commit 38cd75b.
  • Loading branch information
prymitive committed Jun 13, 2020
1 parent 3927f37 commit 7e0bf92
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 228 deletions.
3 changes: 0 additions & 3 deletions ui/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import {

import createPercyAddon from "@percy-io/percy-storybook";

import { withPerformance } from "storybook-addon-performance";

import "mobx-react-lite/batchingForReactDom";

import { advanceTo } from "jest-date-mock";
Expand Down Expand Up @@ -71,7 +69,6 @@ addDecorator((story) => {
</div>
);
});
addDecorator(withPerformance);

const req = require.context("../src/Components", true, /\.stories\.(js|tsx)$/);

Expand Down
4 changes: 0 additions & 4 deletions ui/.storybook/main.js

This file was deleted.

1 change: 1 addition & 0 deletions ui/.storybook/presets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = ["@storybook/preset-create-react-app"];
219 changes: 0 additions & 219 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@
"node-sass": "4.14.1",
"prettier": "2.0.5",
"puppeteer": "3.3.0",
"source-map-explorer": "2.4.2",
"storybook-addon-performance": "0.11.0"
"source-map-explorer": "2.4.2"
},
"browserslist": [
">= 1%",
Expand Down

0 comments on commit 7e0bf92

Please sign in to comment.