refactor: HOCs named imports

This commit is contained in:
Ahmed Bouhuolia
2026-01-01 21:58:42 +02:00
parent 5d872798ff
commit 0f377e19f3
712 changed files with 1367 additions and 1360 deletions

View File

@@ -12,9 +12,9 @@ import {
import { useVendorCreditDetailDrawerContext } from './VendorCreditDetailDrawerProvider';
import { VendorCreditMenuItem } from './utils';
import { VendorCreditAction, AbilitySubject } from '@/constants/abilityOption';
import withDialogActions from '@/containers/Dialog/withDialogActions';
import withAlertsActions from '@/containers/Alert/withAlertActions';
import withDrawerActions from '@/containers/Drawer/withDrawerActions';
import { withDialogActions } from '@/containers/Dialog/withDialogActions';
import { withAlertActions } from '@/containers/Alert/withAlertActions';
import { withDrawerActions } from '@/containers/Drawer/withDrawerActions';
import {
If,
@@ -34,7 +34,7 @@ function VendorCreditDetailActionsBar({
// #withDialogActions
openDialog,
// #withAlertsActions
// #withAlertActions
openAlert,
// #withDrawerActions
@@ -111,6 +111,6 @@ function VendorCreditDetailActionsBar({
export default compose(
withDialogActions,
withAlertsActions,
withAlertActions,
withDrawerActions,
)(VendorCreditDetailActionsBar);