From ec1c7d9f8c526b734239d5e505e79d2d633fe39d Mon Sep 17 00:00:00 2001
From: thesn10 <38666407+thesn10@users.noreply.github.com>
Date: Fri, 26 Jun 2026 18:36:34 +0200
Subject: [PATCH] small fixes
---
app/src/components/CreateListingForm.tsx | 2 +-
target/idl/solisting.json | 16 ++++++++++++----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/app/src/components/CreateListingForm.tsx b/app/src/components/CreateListingForm.tsx
index 03f09f7..57f8f47 100644
--- a/app/src/components/CreateListingForm.tsx
+++ b/app/src/components/CreateListingForm.tsx
@@ -101,7 +101,7 @@ function CurrencyToggle({
cursor: 'pointer',
color: on ? '#0b0613' : 'var(--mut)',
background: on ? 'linear-gradient(135deg,var(--acc),var(--acc2))' : 'var(--bg3)',
- border: `1px solid ${on ? 'transparent' : 'var(--bd)'}`,
+ border: `1px solid var(--bd)`,
})
return (
diff --git a/target/idl/solisting.json b/target/idl/solisting.json
index e208295..4db8d51 100644
--- a/target/idl/solisting.json
+++ b/target/idl/solisting.json
@@ -1263,12 +1263,12 @@
{
"code": 6008,
"name": "SlippageExceeded",
- "msg": "Slippage tolerance exceeded \u2014 oracle rate moved unfavorably since tx was built"
+ "msg": "Slippage tolerance exceeded — oracle rate moved unfavorably since tx was built"
},
{
"code": 6009,
"name": "SplNotImplemented",
- "msg": "SPL payment path not yet implemented \u2014 descro_spl does not exist"
+ "msg": "SPL payment path not yet implemented — descro_spl does not exist"
},
{
"code": 6010,
@@ -1303,7 +1303,7 @@
"name": "usd_oracle",
"docs": [
"Pyth V2 PriceFeedAccount for this token priced in USD (TOKEN/USD).",
- "`None` = treat as a $1.00 USD stablecoin \u2014 no oracle account required at order time."
+ "`None` = treat as a $1.00 USD stablecoin — no oracle account required at order time."
],
"type": {
"option": "pubkey"
@@ -1316,7 +1316,7 @@
"name": "Currency",
"docs": [
"Payment currency identifier. Amounts are always in the currency's smallest unit:",
- "Sol \u2192 Lamports (u64), Spl \u2192 token units (smallest unit per `decimals`)."
+ "Sol → Lamports (u64), Spl → token units (smallest unit per `decimals`)."
],
"type": {
"kind": "enum",
@@ -1415,6 +1415,14 @@
],
"type": "u32"
},
+ {
+ "name": "name",
+ "type": "string"
+ },
+ {
+ "name": "description",
+ "type": "string"
+ },
{
"name": "metadata_uri",
"type": "string"