feat(purchases): add purchases.

This commit is contained in:
elforjani13
2022-03-20 17:56:37 +02:00
parent 39a68f5c25
commit e51f203ca8
16 changed files with 214 additions and 64 deletions

View File

@@ -8,6 +8,7 @@ function VendorDrawerLinkComponent({
// #ownProps
children,
vendorId,
className,
// #withDrawerActions
openDrawer,
@@ -18,7 +19,7 @@ function VendorDrawerLinkComponent({
event.preventDefault();
};
return <ButtonLink onClick={handleVendorDrawer}>{children}</ButtonLink>;
return <ButtonLink className={className} onClick={handleVendorDrawer}>{children}</ButtonLink>;
}
export const VendorDrawerLink = R.compose(withDrawerActions)(VendorDrawerLinkComponent);