diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1562d2d2ec..6c2f94c20c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,30 @@
# CHANGELOG
+## 0.70.1 Dec 7, 2020
+
+Contributed:
+
+- Add Polkadot/Kusama endpoints via PatractLabs (Thanks to https://github.com/toxotguo)
+- Add types for Bitfrost testnet (Thaks to https://github.com/janpo)
+- Adjust Crust network types & logo (Thanks to https://github.com/zikunfan)
+- Adjust types for Phala poc-3 (Thanks to https://github.com/LusWar)
+- Move to typesBundle for Moonbeam (Thanks to https://github.com/joelamouche)
+- Adjust import ordering with plugin (Thanks to https://github.com/ekowalsk)
+
+Changes:
+
+- Bump to latest Ledger libraries for Windows USB fixes
+- Store network endpoint affinity (last-used per network)
+- Only show links in sidebar for verified-good identities
+- Adjust staking pages to show loading indicators, optimize number of queries
+- Adjust staking target filters, including explicit identity grouping
+- Rework target/waiting loading with shared nominator loading
+- Cleanup calendar interface (ease of maintaining)
+- Remove sparsely-used classes utility (inconsistent use)
+- Swap to using TypeScript 4.1.2
+- Adjust dark theme to work with help overlays
+
+
## 0.69.1 Nov 30, 2020
Contributed:
diff --git a/packages/page-staking/src/Slashes/Era.tsx b/packages/page-staking/src/Slashes/Era.tsx
index ae2734a3d4..a6d98b9ae1 100644
--- a/packages/page-staking/src/Slashes/Era.tsx
+++ b/packages/page-staking/src/Slashes/Era.tsx
@@ -64,20 +64,24 @@ function Slashes ({ buttons, councilId, councilThreshold, slash }: Props): React
{buttons}
-
-
+ {api.tx.council?.propose && (
+ <>
+
+
+ >
+ )}
{slash.slashes.map((slash, index): React.ReactNode => (
diff --git a/packages/react-api/src/hoc/api.tsx b/packages/react-api/src/hoc/api.tsx
index 66d440934f..99a6c226ca 100644
--- a/packages/react-api/src/hoc/api.tsx
+++ b/packages/react-api/src/hoc/api.tsx
@@ -10,7 +10,7 @@ import type { DefaultProps } from './types';
import { ApiConsumer } from '../ApiContext';
export default function withApi (Inner: React.ComponentType
, defaultProps: DefaultProps = {}): React.ComponentType {
- return class WithApi extends React.PureComponent> {
+ class WithApi extends React.PureComponent> {
private component: any = React.createRef();
public render (): React.ReactNode {
@@ -32,5 +32,7 @@ export default function withApi (Inner: React.ComponentType
);
}
- };
+ }
+
+ return WithApi;
}
diff --git a/packages/react-api/src/hoc/observable.tsx b/packages/react-api/src/hoc/observable.tsx
index 500f7daca5..43eb892446 100644
--- a/packages/react-api/src/hoc/observable.tsx
+++ b/packages/react-api/src/hoc/observable.tsx
@@ -18,7 +18,7 @@ interface State extends CallState {
export default function withObservable (observable: Observable, { callOnResult, propName = 'value', transform = echoTransform }: Options = {}): HOC {
return (Inner: React.ComponentType, defaultProps: DefaultProps = {}, render?: RenderFn): React.ComponentType => {
- return class WithObservable extends React.Component {
+ class WithObservable extends React.Component {
private isActive = true;
public state: State = {
@@ -85,6 +85,8 @@ export default function withObservable (observable: Observable, { callO
);
}
- };
+ }
+
+ return WithObservable;
};
}