// @ts-nocheck import React, { lazy } from 'react'; import { Dialog, DialogSuspense, FormattedMessage as T } from '@/components'; import withDialogRedux from '@/components/DialogReduxConnect'; import { compose } from '@/utils'; const InventoryAdjustmentFormDialogContent = lazy( () => import('./InventoryAdjustmentFormDialogContent'), ); /** * Inventory adjustments form dialog. */ function InventoryAdjustmentFormDialog({ dialogName, payload = { action: '', itemId: null }, isOpen, }) { return ( } isOpen={isOpen} canEscapeJeyClose={true} autoFocus={true} className={'dialog--adjustment-item'} > ); } export default compose(withDialogRedux())(InventoryAdjustmentFormDialog);