diff --git a/ui/pages/confirmations/components/confirm/info/approve/__snapshots__/approve.test.tsx.snap b/ui/pages/confirmations/components/confirm/info/approve/__snapshots__/approve.test.tsx.snap index 8e13a0885858..75fdd3765851 100644 --- a/ui/pages/confirmations/components/confirm/info/approve/__snapshots__/approve.test.tsx.snap +++ b/ui/pages/confirmations/components/confirm/info/approve/__snapshots__/approve.test.tsx.snap @@ -634,6 +634,17 @@ exports[` renders component for approve request 1`] = ` class="mm-box mm-box--display-flex mm-box--gap-2 mm-box--flex-wrap-wrap mm-box--align-items-center mm-box--min-width-0" data-testid="advanced-details-displayed-nonce" > +

renders component when the prop override is passed class="mm-box mm-box--display-flex mm-box--gap-2 mm-box--flex-wrap-wrap mm-box--align-items-center mm-box--min-width-0" data-testid="advanced-details-displayed-nonce" > +

renders component when the state property is true 1 class="mm-box mm-box--display-flex mm-box--gap-2 mm-box--flex-wrap-wrap mm-box--align-items-center mm-box--min-width-0" data-testid="advanced-details-displayed-nonce" > +

{ } }, [currentConfirmation, dispatch]); - const enableCustomNonce = useSelector(getUseNonceField); const nextNonce = useSelector(getNextSuggestedNonce); const customNonceValue = useSelector(getCustomNonceValue); @@ -65,9 +63,7 @@ const NonceDetails = () => { openEditNonceModal() : undefined - } + onEditClick={() => openEditNonceModal()} editIconClassName="edit-nonce-btn" editIconDataTestId="edit-nonce-icon" />