aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/FFXIVItemPrice.tsx2
-rw-r--r--src/components/FFXIVWorldSelector.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/FFXIVItemPrice.tsx b/src/components/FFXIVItemPrice.tsx
index d65b3ca..8596839 100644
--- a/src/components/FFXIVItemPrice.tsx
+++ b/src/components/FFXIVItemPrice.tsx
@@ -109,7 +109,7 @@ const FFXIVItemPrice: React.FC<FFXIVItemPriceProps> = ({ itemId = 5530, itemName
</table>
<footer>
{dataSource === 'dc' ? 'Datacenter Fallback ' : dataSource === 'region' ? 'Regional Fallback ' : ''}
- {selectedWorld} Marketboard Data provided by Universalis API. <a className="eorzeadb_link" href="#" onClick={(e) => { e.preventDefault(); fetchData(); }}>Click here to reload data</a>
+ {selectedWorld} Marketboard Data provided by Universalis API. <a className="eorzeadb_link" href="#" onClick={(e: React.MouseEvent<HTMLAnchorElement>) => { e.preventDefault(); fetchData(); }}>Click here to reload data</a>
<br />
</footer>
</div>
diff --git a/src/components/FFXIVWorldSelector.tsx b/src/components/FFXIVWorldSelector.tsx
index d078640..95d6f65 100644
--- a/src/components/FFXIVWorldSelector.tsx
+++ b/src/components/FFXIVWorldSelector.tsx
@@ -47,7 +47,7 @@ const FFXIVWorldSelector: React.FC<FFXIVWorldSelectorProps> = ({ message = "Sele
<label htmlFor="world-select" className="ffxiv-label">{message}</label>
<select id="world-select" onChange={handleWorldChange} value={selectedWorld || ''} className="ffxiv-select">
<option value="">--Please choose an option--</option>
- {worlds.map((world) => (
+ {worlds.map((world: World) => (
<option key={world.id} value={world.name}>
{world.name}
</option>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage