From 242a583660ea7e9a1aad95298c49686726efe83c Mon Sep 17 00:00:00 2001 From: Sibtain Ali Date: Tue, 11 Apr 2023 21:10:58 +0500 Subject: [PATCH] chore: lint the changes --- .../HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js b/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js index c4503d9996b0..b127e677eb64 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js @@ -101,12 +101,7 @@ const AnchorRenderer = (props) => { displayName={displayName} // Only pass the press handler for internal links. For public links or whitelisted internal links fallback to default link handling - - onPress={ - (internalNewExpensifyPath || internalExpensifyPath) - ? navigateToLink - : undefined - } + onPress={(internalNewExpensifyPath || internalExpensifyPath) ? navigateToLink : undefined} >