Skip to content

Commit c30b6d7

Browse files
committed
[TOOL-3470] Playground: Fix eslint image warnings (#6297)
1 parent 45ac0cb commit c30b6d7

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

apps/playground-web/src/components/engine/airdrop/TransactionResults.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,20 +160,23 @@ export function ClaimTransactionResults({
160160
<TableCell>
161161
<span className="flex items-center gap-2">
162162
{result.network === "Base Sep" && (
163+
// eslint-disable-next-line @next/next/no-img-element
163164
<img
164165
src="/BaseSep.png"
165166
alt="Base"
166167
className="h-4 w-4"
167168
/>
168169
)}
169170
{result.network === "OP Sep" && (
171+
// eslint-disable-next-line @next/next/no-img-element
170172
<img
171173
src="/OP.png"
172174
alt="Optimism Sep"
173175
className="h-4 w-4"
174176
/>
175177
)}
176178
{result.network === "Ethereum" && (
179+
// eslint-disable-next-line @next/next/no-img-element
177180
<img
178181
src="/Ethereum.png"
179182
alt="Ethereum"

apps/playground-web/src/components/engine/minting/TransactionResults.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,23 @@ export function ClaimTransactionResults({
158158
<TableCell>
159159
<span className="flex items-center gap-2">
160160
{result.network === "Base Sep" && (
161+
// eslint-disable-next-line @next/next/no-img-element
161162
<img
162163
src="/BaseSep.png"
163164
alt="Base"
164165
className="h-4 w-4"
165166
/>
166167
)}
167168
{result.network === "OP Sep" && (
169+
// eslint-disable-next-line @next/next/no-img-element
168170
<img
169171
src="/OP.png"
170172
alt="Optimism Sep"
171173
className="h-4 w-4"
172174
/>
173175
)}
174176
{result.network === "Ethereum" && (
177+
// eslint-disable-next-line @next/next/no-img-element
175178
<img
176179
src="/Ethereum.png"
177180
alt="Ethereum"

apps/playground-web/src/components/engine/minting/erc1155-mint-to.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ export function ERC1155MintTo() {
264264
{account && (
265265
<div className="mt-6 w-full max-w-[400px]">
266266
{image ? (
267+
// eslint-disable-next-line @next/next/no-img-element
267268
<img
268269
src={resolveIpfsUrl(image)}
269270
alt="NFT Preview"

0 commit comments

Comments
 (0)