From eb99338321da2002cc4d6fa29e6fafe3a396c411 Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Tue, 21 Nov 2023 08:57:17 -1000 Subject: [PATCH] Run prettier --- src/libs/actions/Link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Link.ts b/src/libs/actions/Link.ts index 65dd3519c736..5ee15c1cd1d0 100644 --- a/src/libs/actions/Link.ts +++ b/src/libs/actions/Link.ts @@ -64,7 +64,7 @@ function openOldDotLink(url: string) { function getInternalNewExpensifyPath(href: string) { const attrPath = Url.getPathFromURL(href); return (Url.hasSameExpensifyOrigin(href, CONST.NEW_EXPENSIFY_URL) || Url.hasSameExpensifyOrigin(href, CONST.STAGING_NEW_EXPENSIFY_URL) || href.startsWith(CONST.DEV_NEW_EXPENSIFY_URL)) && - !CONST.PATHS_TO_TREAT_AS_EXTERNAL.find(path => path === attrPath) + !CONST.PATHS_TO_TREAT_AS_EXTERNAL.find((path) => path === attrPath) ? attrPath : ''; }