diff --git a/striker-ui/hooks/useConfirmDialog.tsx b/striker-ui/hooks/useConfirmDialog.tsx index 02158447..b28a537e 100644 --- a/striker-ui/hooks/useConfirmDialog.tsx +++ b/striker-ui/hooks/useConfirmDialog.tsx @@ -28,9 +28,9 @@ const useConfirmDialog = ( const { initial: { actionProceedText = '', - closeOnProceed, content = '', titleText = '', + ...restInitialProps } = {}, } = args; @@ -74,12 +74,12 @@ const useConfirmDialog = ( const confirmDialog = useMemo( () => ( ), - [closeOnProceed, confirmDialogProps], + [confirmDialogProps, restInitialProps], ); return {