upgrade biome to 2.0.6 (#7517)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
||||
"extends": "//"
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"zod": "3.25.67"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.0.4",
|
||||
"@biomejs/biome": "2.0.6",
|
||||
"@types/node": "22.14.1",
|
||||
"@types/react": "19.1.8",
|
||||
"@types/react-dom": "19.1.6",
|
||||
@@ -57,6 +57,7 @@
|
||||
"dev": "rm -rf .next && next dev --turbopack",
|
||||
"fix": "eslint ./src --fix",
|
||||
"format": "biome format ./src --write",
|
||||
"knip": "knip",
|
||||
"lint": "biome check ./src && knip && eslint ./src",
|
||||
"prefix": "biome check ./src --fix",
|
||||
"prelint": "biome check ./src",
|
||||
|
||||
@@ -121,19 +121,18 @@ export function WriteContractRawPreview() {
|
||||
{error ? (
|
||||
<div className="mt-4 text-center text-red-600">{error}</div>
|
||||
) : (
|
||||
<>
|
||||
{txHash && sepolia.blockExplorers && (
|
||||
<a
|
||||
className="mt-3 text-center text-green-400"
|
||||
href={`${sepolia.blockExplorers[0].url}/tx/${txHash}`}
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Tx sent:{" "}
|
||||
<span className="underline">{shortenAddress(txHash, 6)}</span>
|
||||
</a>
|
||||
)}
|
||||
</>
|
||||
txHash &&
|
||||
sepolia.blockExplorers && (
|
||||
<a
|
||||
className="mt-3 text-center text-green-400"
|
||||
href={`${sepolia.blockExplorers[0].url}/tx/${txHash}`}
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Tx sent:{" "}
|
||||
<span className="underline">{shortenAddress(txHash, 6)}</span>
|
||||
</a>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user