File tree 3 files changed +1
-13
lines changed
3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,7 @@ import { BrowserRouter } from 'react-router-dom';
11
11
import Header from '~/common/components/Header' ;
12
12
13
13
class App extends Component {
14
- componentDidMount ( ) {
15
- axios . post ( '/api/NumberlockSession/' )
16
- . then ( ( response ) => {
17
- console . log ( response ) ;
18
- } ) . catch ( ( err ) => {
19
- return err ;
20
- } ) ;
21
- }
14
+
22
15
23
16
render ( ) {
24
17
return (
Original file line number Diff line number Diff line change 130
130
"webpack" : " ^4.28.3" ,
131
131
"webpack-bundle-analyzer" : " ^3.0.3" ,
132
132
"webpack-cli" : " ^3.2.0" ,
133
- "webpack-dashboard" : " ^2.0.0" ,
134
133
"webpack-dev-server" : " ^3.1.14" ,
135
134
"webpack-manifest-plugin" : " ^2.0.4" ,
136
135
"webpack-merge" : " ^4.1.5" ,
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ const webpack = require('webpack');
6
6
const baseConfig = require ( './webpack.common.js' ) ;
7
7
8
8
// webpack plugins
9
- const Dashboard = require ( 'webpack-dashboard' ) ;
10
- const DashboardPlugin = require ( 'webpack-dashboard/plugin' ) ;
11
- const dashboard = new Dashboard ( ) ;
12
9
const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
13
10
14
11
const configureCss = ( ) => {
@@ -119,7 +116,6 @@ module.exports = merge(
119
116
plugins : [
120
117
new webpack . HotModuleReplacementPlugin ( ) ,
121
118
new HtmlWebpackPlugin ( configureHtml ( ) ) ,
122
- new DashboardPlugin ( dashboard . setData ) ,
123
119
] ,
124
120
}
125
121
)
You can’t perform that action at this time.
0 commit comments