feat(package.json): Add format script for code formatting
This commit is contained in:
parent
6ad74c9002
commit
16bb7094dc
2 changed files with 2 additions and 4 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
"idev": "cross-env NODE_OPTIONS='--inspect' next dev --turbopack",
|
"idev": "cross-env NODE_OPTIONS='--inspect' next dev --turbopack",
|
||||||
"knip": "knip --no-exit-code --no-config-hints",
|
"knip": "knip --no-exit-code --no-config-hints",
|
||||||
"lint": "biome lint",
|
"lint": "biome lint",
|
||||||
|
"format": "biome format --write",
|
||||||
"pg-typegen": "npx kanel",
|
"pg-typegen": "npx kanel",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"stripe-dev": "stripe listen --forward-to https://localhost:3000/api/stripe-webhook",
|
"stripe-dev": "stripe listen --forward-to https://localhost:3000/api/stripe-webhook",
|
||||||
|
|
|
||||||
|
|
@ -149,10 +149,7 @@ const AnnuncioView = ({ cod, flag }: Omit<AnnuncioProps, "meta">) => {
|
||||||
className="w-full"
|
className="w-full"
|
||||||
href={`/area-riservata/admin/edit-annuncio/${data.id}`}
|
href={`/area-riservata/admin/edit-annuncio/${data.id}`}
|
||||||
>
|
>
|
||||||
<Button
|
<Button className="w-full" type="button">
|
||||||
className="w-full"
|
|
||||||
type="button"
|
|
||||||
>
|
|
||||||
<Edit /> Modifica annuncio
|
<Edit /> Modifica annuncio
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue