Skip to content

Commit

Permalink
Stupid react-swipeable-views library introduced a major bug causing t…
Browse files Browse the repository at this point in the history
…he whole site to crash
  • Loading branch information
damonhook committed Jan 22, 2020
1 parent d62e621 commit 4d01b10
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 490 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ module.exports = {
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/explicit-function-return-type': ['off'],
'no-underscore-dangle': ['off'],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['.storybook/**', '**/*.stories.*', '**/*.story.*'],
},
],
},
overrides: [
{
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ Open http://localhost:3000 to view it in the browser

Runs the api tests. Please make sure you run this whenever you make any changes to the api / backend

### `yarn storybook`

Runs a storybook (https://storybook.js.org/)

Open http://localhost:9009 to view it in the browser

### Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Expand Down
6 changes: 0 additions & 6 deletions client/.storybook/addons.ts

This file was deleted.

29 changes: 0 additions & 29 deletions client/.storybook/config.ts

This file was deleted.

17 changes: 0 additions & 17 deletions client/.storybook/options.ts

This file was deleted.

19 changes: 0 additions & 19 deletions client/.storybook/webpack.config.js

This file was deleted.

15 changes: 2 additions & 13 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,17 @@
"react-redux": "^7.1.3",
"react-router-dom": "^5.1.2",
"react-scripts": "3.2.0",
"react-swipeable-views": "^0.13.3",
"react-swipeable-views": "0.13.3",
"recharts": "^1.8.5",
"redux": "^4.0.4",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"regenerator-runtime": "^0.13.3",
"storybook-react-router": "^1.0.8",
"styled-components": "^4.4.1",
"typeface-roboto": "^0.0.75",
"use-debounce": "^3.2.0",
"uuid": "^3.3.3",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-knobs": "^5.2.6",
"@storybook/addon-links": "^5.2.6",
"@storybook/addon-viewport": "^5.2.6",
"@storybook/addons": "^5.2.6",
"@storybook/react": "^5.2.6",
"@storybook/theming": "^5.2.6",
"storybook-addon-styled-component-theme": "^1.3.0",
"awesome-typescript-loader": "^5.2.1",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.7.4",
Expand All @@ -75,9 +66,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public"
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
Expand Down
46 changes: 0 additions & 46 deletions client/src/components/ListControls/stories/ListControls.story.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions client/src/components/ListItem/stories/ListItem.story.js

This file was deleted.

9 changes: 0 additions & 9 deletions client/src/store/configureStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ if (process.env.NODE_ENV !== 'production') {
middleware.push(logger);
}

export const configureSampleStore = (initialState = {}) => {
const store = createStore({
reducer: appReducer,
preloadedState: initialState,
middleware,
});
return store;
};

const persistConfig = {
key: 'aos-statshammer-12-12-19',
storage,
Expand Down
28 changes: 0 additions & 28 deletions client/src/utils/Container.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions client/src/utils/ScrollContainer.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions client/src/utils/lorem.ts

This file was deleted.

Loading

0 comments on commit 4d01b10

Please sign in to comment.