diff --git a/ui/components/app/confirm/info/row/alert-row/alert-row.tsx b/ui/components/app/confirm/info/row/alert-row/alert-row.tsx index 4b7a422731ae..55412e653a41 100644 --- a/ui/components/app/confirm/info/row/alert-row/alert-row.tsx +++ b/ui/components/app/confirm/info/row/alert-row/alert-row.tsx @@ -49,11 +49,11 @@ export const AlertRow = ({ const [alertModalVisible, setAlertModalVisible] = useState(false); - const handleCloseModal = () => { + const handleModalClose = () => { setAlertModalVisible(false); }; - const handleOpenModal = () => { + const handleInlineAlertClick = () => { setAlertModalVisible(true); }; @@ -66,7 +66,10 @@ export const AlertRow = ({ const inlineAlert = hasFieldAlert ? ( - + ) : null; @@ -76,8 +79,8 @@ export const AlertRow = ({ )}