diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
commit | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch) | |
tree | af7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/webex/pages | |
parent | d5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff) |
fix build system / types
Diffstat (limited to 'src/webex/pages')
-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 ( |