silverwolf-x's picture
download
raw
400 Bytes
import { Button } from 'components'
import deleteFromDb from 'db'
const v1 = 'v1'
export function Item({ id1, id2, id3, id4 }) {
const v2 = id2
async function deleteItem() {
'use server'
await deleteFromDb(id1)
await deleteFromDb(v1)
await deleteFromDb(v2)
await deleteFromDb({ id3 })
await deleteFromDb(id4.x)
}
return <Button action={deleteItem}>Delete</Button>
}

Xet Storage Details

Size:
400 Bytes
·
Xet hash:
060a4689cc1ca5827ef66496e51d514d80482c3f5eeb0ea304e603d15c2cf9ea

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.