Skip to content

Commit

Permalink
changes (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terence Ng authored Feb 6, 2024
1 parent 21732db commit b091ac8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/app/screens/nftDashboard/rareSatsTabGridItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ function RareSatsTabGridItem({ bundle, maxItems }: { bundle: Bundle; maxItems: n

return icons.map((sats, index) => (
<Range key={`${bundle.satRanges[index].block}-${bundle.satRanges[index].offset}`}>
{sats.map((sattribute, indexSatributes) => {
if (sattribute === 'ellipsis') {
{sats.map((satribute, indexSatributes) => {
if (satribute === 'ellipsis') {
return (
<DotsThree
key={`${totalTilesDisplayed}-ellipsis`}
Expand All @@ -96,7 +96,7 @@ function RareSatsTabGridItem({ bundle, maxItems }: { bundle: Bundle; maxItems: n
);
}

if (sattribute === '+X') {
if (satribute === '+X') {
return (
<TileText key={`${totalTilesDisplayed}-+X`} typography="body_m">
+{totalTiles - totalTilesDisplayed}
Expand All @@ -105,7 +105,7 @@ function RareSatsTabGridItem({ bundle, maxItems }: { bundle: Bundle; maxItems: n
}
return (
// eslint-disable-next-line react/no-array-index-key
<RareSatIcon key={`${sattribute}-${indexSatributes}`} type={sattribute} size={24} />
<RareSatIcon key={`${satribute}-${indexSatributes}`} type={satribute} size={24} />
);
})}
</Range>
Expand Down
2 changes: 1 addition & 1 deletion src/app/screens/ordinalDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ function OrdinalDetailScreen() {
const stributesBadges = showSatributes && (
<SatributesBadgeContainer isGallery={isGalleryOpen}>
<StyledP typography="body_medium_m" color="white_400">
{commonT('SATTRIBUTES')}
{commonT('SATRIBUTES')}
</StyledP>
<SatributesBadges isGallery={isGalleryOpen}>
{ordinalSatributes.map((satribute, index) => {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"SEND": "Send",
"COMBO": "Combo",
"SATS": "Sats",
"SATTRIBUTES": "Sattributes",
"SATRIBUTES": "Satributes",
"INPUT": "Input",
"SIZE": "Size",
"BUNDLE": "Bundle"
Expand Down

0 comments on commit b091ac8

Please sign in to comment.