From 22f87eb3bbe3ae8313b53171cbb460b2c44a04f8 Mon Sep 17 00:00:00 2001
From: Parkusisafk <84316851+Parkusisafk@users.noreply.github.com>
Date: Mon, 1 Jul 2024 18:15:54 +0800
Subject: [PATCH 1/5] reiterate->duplex.tsx
---
components/AuctionDetails/AuctionDetails.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/AuctionDetails/AuctionDetails.tsx b/components/AuctionDetails/AuctionDetails.tsx
index 7883fc66..af1285fc 100644
--- a/components/AuctionDetails/AuctionDetails.tsx
+++ b/components/AuctionDetails/AuctionDetails.tsx
@@ -457,6 +457,8 @@ function AuctionDetails(props: Props) {
{auctionDetails?.enchantments.map(enchantment => {
let enchantmentString = {enchantment.name}
+ enchantment.name=enchantment.name.replace("Ultimate_Reiterate","Duplex");
+ enchantment.name=enchantment.name.replace("Ultimate Reiterate", "Duplex");
if (enchantment.color) {
enchantmentString = getMinecraftColorCodedElement(enchantment.color + enchantment.name + ' ' + enchantment.level)
}
From 6c4b6e2327a616c500ad7beda521215d1cc456fe Mon Sep 17 00:00:00 2001
From: Parkusisafk <84316851+Parkusisafk@users.noreply.github.com>
Date: Mon, 8 Jul 2024 16:20:45 +0800
Subject: [PATCH 2/5] Update AuctionDetails.tsx
ultimate reiterate ->duplex
---
components/AuctionDetails/AuctionDetails.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/AuctionDetails/AuctionDetails.tsx b/components/AuctionDetails/AuctionDetails.tsx
index af1285fc..6f5ecd32 100644
--- a/components/AuctionDetails/AuctionDetails.tsx
+++ b/components/AuctionDetails/AuctionDetails.tsx
@@ -457,8 +457,9 @@ function AuctionDetails(props: Props) {
{auctionDetails?.enchantments.map(enchantment => {
let enchantmentString = {enchantment.name}
- enchantment.name=enchantment.name.replace("Ultimate_Reiterate","Duplex");
- enchantment.name=enchantment.name.replace("Ultimate Reiterate", "Duplex");
+ if(enchantment.name === "Ultimate Reiterate"){
+ enchantment.name = "Ultimate Duplex";
+ }
if (enchantment.color) {
enchantmentString = getMinecraftColorCodedElement(enchantment.color + enchantment.name + ' ' + enchantment.level)
}
From c7f1c58da3c774a9e9ff77cdf21ba98d0eb0cbe7 Mon Sep 17 00:00:00 2001
From: Parkusisafk <84316851+Parkusisafk@users.noreply.github.com>
Date: Mon, 8 Jul 2024 16:21:36 +0800
Subject: [PATCH 3/5] Update AuctionDetails.tsx
---
components/AuctionDetails/AuctionDetails.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/AuctionDetails/AuctionDetails.tsx b/components/AuctionDetails/AuctionDetails.tsx
index 6f5ecd32..2cf285f3 100644
--- a/components/AuctionDetails/AuctionDetails.tsx
+++ b/components/AuctionDetails/AuctionDetails.tsx
@@ -458,7 +458,7 @@ function AuctionDetails(props: Props) {
{auctionDetails?.enchantments.map(enchantment => {
let enchantmentString = {enchantment.name}
if(enchantment.name === "Ultimate Reiterate"){
- enchantment.name = "Ultimate Duplex";
+ enchantment.name = "Duplex";
}
if (enchantment.color) {
enchantmentString = getMinecraftColorCodedElement(enchantment.color + enchantment.name + ' ' + enchantment.level)
From 5c31455b8fee7f47e1c2daa91a78fbc970ff7890 Mon Sep 17 00:00:00 2001
From: Parkusisafk <84316851+Parkusisafk@users.noreply.github.com>
Date: Mon, 8 Jul 2024 17:03:09 +0800
Subject: [PATCH 4/5] Update AuctionDetails.tsx
---
components/AuctionDetails/AuctionDetails.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/AuctionDetails/AuctionDetails.tsx b/components/AuctionDetails/AuctionDetails.tsx
index 2cf285f3..4ba0f7e4 100644
--- a/components/AuctionDetails/AuctionDetails.tsx
+++ b/components/AuctionDetails/AuctionDetails.tsx
@@ -456,10 +456,11 @@ function AuctionDetails(props: Props) {
{auctionDetails && auctionDetails!.enchantments.length > 0 ? (
{auctionDetails?.enchantments.map(enchantment => {
- let enchantmentString = {enchantment.name}
if(enchantment.name === "Ultimate Reiterate"){
enchantment.name = "Duplex";
}
+ let enchantmentString = {enchantment.name}
+
if (enchantment.color) {
enchantmentString = getMinecraftColorCodedElement(enchantment.color + enchantment.name + ' ' + enchantment.level)
}
From c707ea35a911c99521dac984a6ccb9a12a7e1e78 Mon Sep 17 00:00:00 2001
From: Parkusisafk <84316851+Parkusisafk@users.noreply.github.com>
Date: Tue, 9 Jul 2024 14:33:59 +0800
Subject: [PATCH 5/5] Update AuctionDetails.tsx
---
components/AuctionDetails/AuctionDetails.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/AuctionDetails/AuctionDetails.tsx b/components/AuctionDetails/AuctionDetails.tsx
index 4ba0f7e4..7c5f24f1 100644
--- a/components/AuctionDetails/AuctionDetails.tsx
+++ b/components/AuctionDetails/AuctionDetails.tsx
@@ -457,7 +457,7 @@ function AuctionDetails(props: Props) {
{auctionDetails?.enchantments.map(enchantment => {
if(enchantment.name === "Ultimate Reiterate"){
- enchantment.name = "Duplex";
+ enchantment.name = "Ultimate Duplex";
}
let enchantmentString = {enchantment.name}