From f8b76c0d7e7718554111cad89732345e2ac90c87 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Mon, 30 Apr 2018 17:30:40 +0200 Subject: [PATCH] Fix to prevent app crash on the "abandon" seed The case where there's no "from" address on an operation shouldn't happen, but on testnet (sh)it happens :+1: --- src/components/OperationsList/Operation.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/OperationsList/Operation.js b/src/components/OperationsList/Operation.js index f417188e..21ab2c0e 100644 --- a/src/components/OperationsList/Operation.js +++ b/src/components/OperationsList/Operation.js @@ -49,6 +49,10 @@ const OperationRaw = styled(Box).attrs({ ` const Address = ({ value }: { value: string }) => { + if (!value) { + return + } + const addrSize = value.length / 2 const left = value.slice(0, 10)