Merge branch 'code-240' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#34)

This commit is contained in:
Calvin Lee 2023-04-19 21:08:03 +00:00 committed by Harness
commit 961cf14fd2

View File

@ -70,7 +70,7 @@ const ReviewSplitButton = (props: ReviewSplitButtonProps) => {
.then(() => {
// setReset(true)
showSuccess(getString('pr.reviewSubmitted'))
refreshPr()
refreshPr?.()
})
.catch(exception => showError(getErrorMessage(exception)))
}, [decisionOption, mutate, showError, showSuccess, getString])