Skip to content

Commit 8afe299

Browse files
committed
W-20975340: Addressing comments
1 parent d62aa9a commit 8afe299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/template-retail-react-app/app/hooks/use-current-customer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {useCustomer, useCustomerId, useCustomerType} from '@salesforce/commerce-
1111
* A hook that returns the current customer.
1212
* @param {Array<string>} [expand] - Optional array of fields to expand in the customer query
1313
*/
14-
export const useCurrentCustomer = (expand = undefined) => {
14+
export const useCurrentCustomer = (expand) => {
1515
const customerId = useCustomerId()
1616
const {isRegistered, isGuest, customerType} = useCustomerType()
1717
const parameters = {

0 commit comments

Comments
 (0)