mirror of
https://github.com/vercel/commerce.git
synced 2025-09-07 16:30:17 +00:00
Updated defaults in all hooks
This commit is contained in:
@@ -22,8 +22,8 @@ export const fetcher: HookFetcher<null, SignupBody> = (
|
||||
}
|
||||
|
||||
return fetch({
|
||||
url: options?.url ?? defaultOpts.url,
|
||||
method: options?.method ?? defaultOpts.method,
|
||||
...defaultOpts,
|
||||
...options,
|
||||
body: { firstName, lastName, email, password },
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user