Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
fix(rns): prevents error on non-existent date
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajpiar committed Apr 22, 2021
1 parent 47b88d5 commit 8425521
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rif-marketplace-ui",
"version": "1.3.7",
"version": "1.3.8",
"description": "RIF Marketplace provides a digital catalogue with a wide range of decentralised services.",
"keywords": [
"RIF",
Expand Down
2 changes: 1 addition & 1 deletion src/api/rif-marketplace-cache/rns/domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const mapFromTransport = (item: DomainTransport): RnsDomain => {
} = item
const domain: RnsDomain = {
id: tokenId,
expirationDate: new Date(expiration.date),
expirationDate: new Date(expiration?.date),
ownerAddress: owner.address,
name,
tokenId,
Expand Down

0 comments on commit 8425521

Please sign in to comment.