From 500e1baf2ac6973987b3e4edec86953df4eb3a48 Mon Sep 17 00:00:00 2001 From: Matthew Walsh Date: Sat, 15 Jun 2024 00:46:41 +0100 Subject: [PATCH] Update handler names --- .../app/confirm/info/row/alert-row/alert-row.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 = ({ )}