mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
task: prettier
This commit is contained in:
@@ -17,12 +17,14 @@ export const handler: SWRHook<Customer | null> = {
|
||||
})
|
||||
return data.me ?? null
|
||||
},
|
||||
useHook: ({ useData }) => (input) => {
|
||||
return useData({
|
||||
swrOptions: {
|
||||
revalidateOnFocus: false,
|
||||
...input?.swrOptions,
|
||||
},
|
||||
})
|
||||
},
|
||||
useHook:
|
||||
({ useData }) =>
|
||||
(input) => {
|
||||
return useData({
|
||||
swrOptions: {
|
||||
revalidateOnFocus: false,
|
||||
...input?.swrOptions,
|
||||
},
|
||||
})
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user