Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
N3TC4T committed Nov 12, 2024
1 parent bbc9d96 commit 7a436fb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class NFTokenOfferInfo extends ExplainerAbstract<NFTokenOffer> {
}

getAssetDetails(): AssetDetails[] {
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.NFTokenID }];
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.NFTokenID! }];
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class NFTokenAcceptOfferInfo extends ExplainerAbstract<NFTokenAcceptOffer, Mutat
}

getAssetDetails(): AssetDetails[] {
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.Offer.NFTokenID }];
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.Offer.NFTokenID! }];
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class NFTokenCreateOfferInfo extends ExplainerAbstract<NFTokenCreateOffer, Mutat
}

getAssetDetails(): AssetDetails[] {
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.NFTokenID }];
return [{ type: AssetTypes.NFToken, nfTokenId: this.item.NFTokenID! }];
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ exports[`[Avatar] should apply styles correctly 1`] = `
"height": 128.57142857142856,
"width": 128.57142857142856,
},
undefined,
]
}
/>
Expand Down Expand Up @@ -78,6 +79,7 @@ exports[`[Avatar] should render correctly 1`] = `
"height": 85.71428571428571,
"width": 85.71428571428571,
},
undefined,
]
}
/>
Expand Down Expand Up @@ -118,6 +120,7 @@ exports[`[Avatar] should render correctly with a badge 1`] = `
"height": 85.71428571428571,
"width": 85.71428571428571,
},
undefined,
]
}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class NFTokenMintTemplate extends Component<Props, State> {
<>
<Text style={styles.label}>{Localize.t('global.uri')}</Text>
<View style={styles.contentBox}>
<Text selectable style={[styles.value]}>
<Text selectable style={styles.value}>
{transaction.URI}
</Text>
</View>
Expand Down

0 comments on commit 7a436fb

Please sign in to comment.