Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Oct 13, 2024
1 parent 9b0d959 commit 6e49575
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Regions/MarketRegion/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export const MarketRegion = ({ listing, onUnlist, onPurchase }: MarketRegionProp
regionData={{
rawId: `${region.getRegionId()}`, // TODO: not the same as rawId
name: `Region ${region.getCore()}`,
regionStart: getTimeStringShort(beginTimestamp),
regionEnd: getTimeStringShort(endTimestamp),
regionStart: `Begin: ${getTimeStringShort(beginTimestamp)}`,
regionEnd: `End: ${getTimeStringShort(endTimestamp)}`,
coreIndex: region.getCore(),
chainColor: 'blueDark',
chainLabel: 'RegionX',
Expand Down
4 changes: 2 additions & 2 deletions src/components/Regions/RegionMetaCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export const RegionMetaCard = ({ active, regionMetadata }: RegionMetaCardProps)
regionData={{
rawId: regionMetadata.rawId.toString(),
name: regionMetadata.name || `Region ${regionMetadata.region.getCore()}`,
regionStart: getRelativeTimeString(beginTimestamp),
regionEnd: getRelativeTimeString(endTimestamp),
regionStart: `Begin: ${getRelativeTimeString(beginTimestamp)}`,
regionEnd: `End: ${getRelativeTimeString(endTimestamp)}`,
coreIndex: region.getCore(),
consumed: Number(parseFloat((regionMetadata.consumed * 100).toString()).toFixed(2)),
chainLabel: locationToLabel(location),
Expand Down

0 comments on commit 6e49575

Please sign in to comment.