Dropped unneeded var

This commit is contained in:
Keith Irwin 2023-04-11 21:43:31 -06:00
parent 757f28d233
commit 97615aa4cd
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const emptyCart = () => {
}
const cancel = async () => {
let res; try { res = await fetch(
try { await fetch(
`${API_DOMAIN}/order/${qstr.id}?key=${qstr.key}`,
{ method:'DELETE' }
) } catch (err) { console.error(err) }