Skip to content

Commit 5824126

Browse files
author
Fahd
committed
chore(issuer): fix to prevent empty tables from crashing
1 parent 8c9d924 commit 5824126

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/polymath-issuer/src/pages/restrictions/components/IndividualRestrictionsTable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class IndividualRestrictionsTable extends Component<Props, State> {
7676
};
7777

7878
editAddress = address => {
79+
if (address === '0') return;
7980
const { individualRestrictions } = this.props;
8081
let restriction = individualRestrictions.find(i => i.address === address);
8182
this.props.modifyIndividualRestriction(restriction);

0 commit comments

Comments
 (0)