Skip to content

Commit

Permalink
Fixed undo destructure
Browse files Browse the repository at this point in the history
  • Loading branch information
wender committed Oct 9, 2024
1 parent 1433004 commit 1556e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/UserWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const UserWidget: VtexFunctionComponent<UserWidgetProps> = ({
return
}

const uiSettings = userWidgetData?.getB2BSettings
const uiSettings = userWidgetData?.getB2BSettings?.uiSettings

if (uiSettings?.showModal) {
const totalCompanies = userWidgetData?.getOrganizationsByEmail?.length
Expand Down

0 comments on commit 1556e4c

Please sign in to comment.