diff options
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/pages/error.tsx | 2 | ||||
-rw-r--r-- | src/webex/pages/logs.tsx | 2 | ||||
-rw-r--r-- | src/webex/pages/tree.tsx | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/webex/pages/error.tsx b/src/webex/pages/error.tsx index 75ba990b4..e86b6cf4c 100644 --- a/src/webex/pages/error.tsx +++ b/src/webex/pages/error.tsx @@ -30,7 +30,7 @@ interface ErrorProps { message: string; } -class ErrorView extends React.Component<ErrorProps, void> { +class ErrorView extends React.Component<ErrorProps, { }> { render(): JSX.Element { return ( <div> diff --git a/src/webex/pages/logs.tsx b/src/webex/pages/logs.tsx index 51f2cef33..2853b2a06 100644 --- a/src/webex/pages/logs.tsx +++ b/src/webex/pages/logs.tsx @@ -32,7 +32,7 @@ interface LogViewProps { log: LogEntry; } -class LogView extends React.Component<LogViewProps, void> { +class LogView extends React.Component<LogViewProps, {}> { render(): JSX.Element { const e = this.props.log; return ( diff --git a/src/webex/pages/tree.tsx b/src/webex/pages/tree.tsx index ad1693fb5..2d542f01d 100644 --- a/src/webex/pages/tree.tsx +++ b/src/webex/pages/tree.tsx @@ -51,7 +51,7 @@ interface ReserveViewProps { reserve: ReserveRecord; } -class ReserveView extends React.Component<ReserveViewProps, void> { +class ReserveView extends React.Component<ReserveViewProps, {}> { render(): JSX.Element { const r: ReserveRecord = this.props.reserve; return ( @@ -130,7 +130,7 @@ class RefreshDialog extends ImplicitStateComponent<RefreshDialogProps> { } } -class CoinView extends React.Component<CoinViewProps, void> { +class CoinView extends React.Component<CoinViewProps, {}> { render() { const c = this.props.coin; return ( @@ -154,7 +154,7 @@ interface PreCoinViewProps { precoin: PreCoinRecord; } -class PreCoinView extends React.Component<PreCoinViewProps, void> { +class PreCoinView extends React.Component<PreCoinViewProps, {}> { render() { const c = this.props.precoin; return ( @@ -381,7 +381,7 @@ interface ExchangeProps { exchange: ExchangeRecord; } -class ExchangeView extends React.Component<ExchangeProps, void> { +class ExchangeView extends React.Component<ExchangeProps, {}> { render(): JSX.Element { const e = this.props.exchange; return ( |