diff options
-rw-r--r-- | packages/website/ts/components/trade_history/trade_history_item.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/trade_history/trade_history_item.tsx b/packages/website/ts/components/trade_history/trade_history_item.tsx index 96b755e3c..58bdf84ae 100644 --- a/packages/website/ts/components/trade_history/trade_history_item.tsx +++ b/packages/website/ts/components/trade_history/trade_history_item.tsx @@ -122,6 +122,9 @@ export class TradeHistoryItem extends React.Component<TradeHistoryItemProps, Tra givenAmount = fill.filledTakerTokenAmount; receiveToken = makerToken; givenToken = takerToken; + } else { + // This condition should never be hit + throw new Error('Found Fill that wasn\'t performed by this user'); } return ( |