Skip to content

Commit

Permalink
Merge pull request #115 from privacysandbox/fix-shop2
Browse files Browse the repository at this point in the history
[shop] fix ts error
  • Loading branch information
Seburan authored Aug 24, 2023
2 parents 87ba951 + ad727de commit b5629c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/shop/app/items/[id]/SubmitForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function SubmitForm({ item }: { item: Item }) {

const res = await fetch("/api/cart", {
method: "post",
body: new URLSearchParams(data as URLSearchParams)
body: new URLSearchParams(data as any)
})
console.assert(res.redirected)
router.push(res.url)
Expand Down

0 comments on commit b5629c9

Please sign in to comment.