From 51f0e946e2bc615b0362bb9b27aebe2a0dd79b9b Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 8 Mar 2024 12:40:47 +0800 Subject: [PATCH] prettier --- src/libs/actions/Session/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index b26ac3046a9d..07bc7f3ed418 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -949,7 +949,7 @@ const canAnonymousUserAccessRoute = (route: string) => { routeRemovedReportId = routeRemovedReportId.slice(1); } const routesAccessibleByAnonymousUser = [ROUTES.SIGN_IN_MODAL, ROUTES.REPORT_WITH_ID_DETAILS.route, ROUTES.REPORT_WITH_ID_DETAILS_SHARE_CODE.route, ROUTES.CONCIERGE]; - const isMagicLink = CONST.REGEX.ROUTES.VALIDATE_LOGIN.test(`/${route}`); + const isMagicLink = CONST.REGEX.ROUTES.VALIDATE_LOGIN.test(`/${route}`); if ((routesAccessibleByAnonymousUser as string[]).includes(routeRemovedReportId) || isMagicLink) { return true;