Merge pull request #1903 from RafaelTaranto/fix/customer-sidebard-rerenders
LAM-1479 fix: prevent customer sidebar from re-rendering
This commit is contained in:
commit
4efd40e1dd
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ const CustomerProfile = memo(() => {
|
|||
</Breadcrumbs>
|
||||
<div className="flex gap-20">
|
||||
<div className="w-55 flex flex-col gap-6">
|
||||
{!loading && !customerData.isAnonymous && (
|
||||
{!!customerData && !customerData.isAnonymous && (
|
||||
<>
|
||||
<CustomerSidebar
|
||||
isSelected={code => code === clickedItem}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue