BIG-19 fix: scrollable area on details drawer.

This commit is contained in:
a.bouhuolia
2021-09-12 10:16:34 +02:00
parent e710edb0a1
commit d446300a71
38 changed files with 153 additions and 95 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { DrawerHeaderContent, DashboardInsider } from 'components';
import { DrawerHeaderContent, DrawerLoading } from 'components';
import { useCustomer } from 'hooks/query';
const ContactDetailDrawerContext = React.createContext();
@@ -23,13 +23,13 @@ function CustomerDetailsDrawerProvider({ customerId, ...props }) {
};
return (
<DashboardInsider loading={isCustomerLoading}>
<DrawerLoading loading={isCustomerLoading}>
<DrawerHeaderContent
name="customer-details-drawer"
title={customer?.display_name}
/>
<ContactDetailDrawerContext.Provider value={provider} {...props} />
</DashboardInsider>
</DrawerLoading>
);
}