diff --git a/.prettierrc b/.prettierrc
index da20199a..5c6c4abc 100755
--- a/.prettierrc
+++ b/.prettierrc
@@ -6,5 +6,6 @@
"tabWidth": 2,
"trailingComma": "all",
"bracketSpacing": true,
- "jsxBracketSameLine": false
+ "jsxBracketSameLine": false,
+ "arrowParens": "avoid"
}
diff --git a/package.json b/package.json
old mode 100755
new mode 100644
index 6cbb24b9..fc4b67f2
--- a/package.json
+++ b/package.json
@@ -45,87 +45,87 @@
}
],
"dependencies": {
- "@babel/core": "^7.0.1",
- "@babel/preset-env": "7.6.0",
- "@babel/preset-react": "7.0.0",
- "@svgr/webpack": "3.1.0",
+ "@babel/core": "^7.11.6",
+ "@babel/plugin-transform-react-constant-elements": "^7.10.4",
+ "@babel/preset-env": "7.11.5",
+ "@babel/preset-react": "7.10.4",
+ "@svgr/webpack": "5.4.0",
"antd": "^3.26.12",
- "babel-core": "^7.0.0-bridge.0",
- "babel-loader": "^8.0.2",
- "babel-plugin-import": "^1.8.0",
- "babel-plugin-module-resolver": "^3.1.1",
- "bn.js": "4.11.8",
+ "babel-loader": "^8.1.0",
+ "babel-plugin-import": "^1.13.0",
+ "babel-plugin-module-resolver": "^4.0.0",
+ "bn.js": "5.1.3",
"classnames": "^2.2.6",
- "clean-webpack-plugin": "^0.1.19",
- "copy-webpack-plugin": "^5.1.1",
- "core-js": "3.2.1",
- "crypto-js": "3.1.9-1",
+ "clean-webpack-plugin": "^3.0.0",
+ "copy-webpack-plugin": "^6.1.1",
+ "core-js": "3.6.5",
+ "crypto-js": "4.0.0",
"css-loader": "^1.0.0",
- "file-loader": "^2.0.0",
- "html-webpack-plugin": "3.2.0",
- "husky": "2.1.0",
- "jdenticon": "2.1.0",
- "less": "^3.7.1",
- "less-loader": "^4.1.0",
- "mini-css-extract-plugin": "^0.4.2",
- "moment": "^2.22.2",
- "node-sass": "^4.9.2",
- "prettier": "1.17.0",
- "qrcode.react": "0.8.0",
- "query-string": "6.2.0",
- "react": "^16.4.0",
- "react-copy-to-clipboard": "5.0.1",
- "react-dom": "^16.4.0",
- "react-redux": "^5.0.7",
- "react-router": "^4.3.1",
- "react-router-dom": "^4.3.1",
- "redux": "^4.0.0",
+ "file-loader": "^6.1.0",
+ "html-webpack-plugin": "4.5.0",
+ "husky": "4.3.0",
+ "jdenticon": "3.0.1",
+ "less": "^3.12.2",
+ "less-loader": "^7.0.1",
+ "mini-css-extract-plugin": "^0.11.2",
+ "moment": "^2.27.0",
+ "node-sass": "^4.14.1",
+ "prettier": "2.1.2",
+ "qrcode.react": "1.0.0",
+ "query-string": "6.13.4",
+ "react": "^16.13.1",
+ "react-copy-to-clipboard": "5.0.2",
+ "react-dom": "^16.13.1",
+ "react-redux": "^7.2.1",
+ "react-router": "^5.2.0",
+ "react-router-dom": "^5.2.0",
+ "redux": "^4.0.5",
"redux-devtools-extension": "^2.13.2",
"redux-logger": "^3.0.6",
- "redux-saga": "1.0.5",
- "remote-redux-devtools": "0.5.13",
- "semver": "6.3.0",
- "style-loader": "^0.23.0",
- "ts-loader": "6.1.0",
- "ts-node": "^7.0.1",
- "tslint": "^5.10.0",
+ "redux-saga": "1.1.3",
+ "remote-redux-devtools": "0.5.16",
+ "semver": "7.3.2",
+ "style-loader": "^1.2.1",
+ "ts-loader": "8.0.4",
+ "ts-node": "^9.0.0",
+ "tslint": "^6.1.3",
"tslint-config-prettier": "^1.13.0",
"tslint-eslint-rules": "^5.3.1",
- "tslint-react": "^3.6.0",
- "typescript": "^3.8.2",
- "url-loader": "^1.1.1",
- "webln": "0.2.0",
- "webpack": "4.39.3",
- "webpack-cli": "^3.1.0",
+ "tslint-react": "^5.0.0",
+ "typescript": "^4.0.3",
+ "url-loader": "^4.1.0",
+ "webln": "0.2.2",
+ "webpack": "4.44.2",
+ "webpack-cli": "^3.3.12",
"zip-webpack-plugin": "3.0.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {
- "@types/bn.js": "4.11.2",
- "@types/classnames": "^2.2.6",
- "@types/crypto-js": "3.1.43",
- "@types/node": "^10.11.4",
- "@types/qrcode.react": "0.8.1",
- "@types/query-string": "6.1.1",
- "@types/react": "16.3.16",
- "@types/react-copy-to-clipboard": "4.2.6",
- "@types/react-dom": "^16.0.6",
- "@types/react-redux": "^6.0.2",
- "@types/react-router": "^4.0.31",
- "@types/react-router-dom": "^4.3.1",
+ "@types/bn.js": "4.11.6",
+ "@types/classnames": "^2.2.10",
+ "@types/crypto-js": "3.1.47",
+ "@types/node": "^14.11.2",
+ "@types/qrcode.react": "1.0.1",
+ "@types/query-string": "6.3.0",
+ "@types/react": "16.9.49",
+ "@types/react-copy-to-clipboard": "4.3.0",
+ "@types/react-dom": "^16.9.8",
+ "@types/react-redux": "^7.1.9",
+ "@types/react-router": "^5.1.8",
+ "@types/react-router-dom": "^5.1.5",
"@types/redux-actions": "^2.3.0",
- "@types/redux-logger": "^3.0.6",
- "@types/remote-redux-devtools": "0.5.3",
- "@types/semver": "6.0.2",
- "@types/webpack": "^4.4.14",
+ "@types/redux-logger": "^3.0.8",
+ "@types/remote-redux-devtools": "0.5.4",
+ "@types/semver": "7.3.4",
+ "@types/webpack": "^4.41.22",
"@types/zxcvbn": "4.4.0",
- "cross-env": "5.2.0",
- "pretty-quick": "1.10.0",
- "react-hot-loader": "^4.6.3",
- "rimraf": "2.6.2",
+ "cross-env": "7.0.2",
+ "pretty-quick": "3.0.2",
+ "react-hot-loader": "^4.13.0",
+ "rimraf": "3.0.2",
"string-hash": "1.1.3",
- "webextension-polyfill-ts": "0.8.9",
- "webpack-dev-server": "3.2.1",
+ "webextension-polyfill-ts": "0.20.0",
+ "webpack-dev-server": "3.11.0",
"write-file-webpack-plugin": "^4.5.0"
}
}
diff --git a/src/app/components/ChannelList/ChannelRow.tsx b/src/app/components/ChannelList/ChannelRow.tsx
index e828fdad..e3efb83c 100644
--- a/src/app/components/ChannelList/ChannelRow.tsx
+++ b/src/app/components/ChannelList/ChannelRow.tsx
@@ -19,10 +19,7 @@ export default class ChannelRow extends React.Component