feat(package.json): Add format script for code formatting

This commit is contained in:
Marco Pedone 2025-11-03 11:03:41 +01:00
parent 6ad74c9002
commit 16bb7094dc
2 changed files with 2 additions and 4 deletions

View file

@ -10,6 +10,7 @@
"idev": "cross-env NODE_OPTIONS='--inspect' next dev --turbopack",
"knip": "knip --no-exit-code --no-config-hints",
"lint": "biome lint",
"format": "biome format --write",
"pg-typegen": "npx kanel",
"start": "next start",
"stripe-dev": "stripe listen --forward-to https://localhost:3000/api/stripe-webhook",

View file

@ -149,10 +149,7 @@ const AnnuncioView = ({ cod, flag }: Omit<AnnuncioProps, "meta">) => {
className="w-full"
href={`/area-riservata/admin/edit-annuncio/${data.id}`}
>
<Button
className="w-full"
type="button"
>
<Button className="w-full" type="button">
<Edit /> Modifica annuncio
</Button>
</Link>