From 0207a299143952507f8d7fdff64e03eb4fdbb1ab Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 14 Oct 2024 15:19:26 -0500 Subject: [PATCH] ComposeForm: wrap NIP05 text in a component --- .../compose/containers/warning-container.tsx | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/features/compose/containers/warning-container.tsx b/src/features/compose/containers/warning-container.tsx index 1ecc99359..cf80aee6c 100644 --- a/src/features/compose/containers/warning-container.tsx +++ b/src/features/compose/containers/warning-container.tsx @@ -45,28 +45,28 @@ const WarningWrapper: React.FC = ({ composeId }) => { } if (account?.source?.nostr?.nip05 === undefined) { - if (settingsNotifications.has('needsNip05')) { - return ( - - - - ), - }} - /> - ); - } else { - return ( - - ); - } + return ( + + + + ), + }} + /> + ) : ( + + )} + /> + ); } if (needsLockWarning) {