diff --git a/package.json b/package.json
index 98a35b4..c5574b1 100644
--- a/package.json
+++ b/package.json
@@ -5,15 +5,15 @@
"start": "next start"
},
"dependencies": {
- "next": "^8.0.1",
- "next-redux-wrapper": "^3.0.0-alpha.1",
- "node-fetch": "^2.3.0",
- "react": "^16.8.2",
- "react-dom": "^16.8.2",
- "react-redux": "^6.0.1",
- "redux": "^4.0.1",
+ "next": "^9.1.1",
+ "next-redux-wrapper": "^4.0.1",
+ "node-fetch": "^2.6.0",
+ "react": "^16.10.2",
+ "react-dom": "^16.10.2",
+ "react-redux": "^7.1.1",
+ "redux": "^4.0.4",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
- "semantic-ui-react": "^0.85.0"
+ "semantic-ui-react": "^0.88.1"
}
}
diff --git a/pages/_app.js b/pages/_app.js
index eb589d9..24cff4d 100644
--- a/pages/_app.js
+++ b/pages/_app.js
@@ -1,40 +1,28 @@
import React from 'react'
import Link from 'next/link';
-import App, { Container } from 'next/app'
+import App from 'next/app'
import { Provider } from 'react-redux';
import withRedux from 'next-redux-wrapper';
import initsStore from '../app/store';
class MyApp extends App {
- static async getInitialProps({ Component, ctx, store }) {
- let pageProps = {}
-
- if (Component.getInitialProps) {
- pageProps = await Component.getInitialProps(ctx)
- }
-
- return { pageProps, store }
- }
-
render () {
const { Component, pageProps, store } = this.props
return (
-