From 361f390f35cb36ec6a86eed29474e89a7e16d449 Mon Sep 17 00:00:00 2001 From: Starman <30315137+Starman3787@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:08:07 +0100 Subject: [PATCH] formatting --- get.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/get.js b/get.js index d0dc5c0..12cca85 100644 --- a/get.js +++ b/get.js @@ -25,7 +25,10 @@ const returnNextProperty = ( { get(target, prop1) { if (prop1 === "then") - return returnNextProperty(languagesStringsToUse, fallbackLanguagesStrings); + return returnNextProperty( + languagesStringsToUse, + fallbackLanguagesStrings + ); const currentCursor = cursor ? `${cursor}.${prop1}` : prop1; const toReturn = readObject(languagesStringsToUse, currentCursor) ? readObject(languagesStringsToUse, currentCursor) @@ -63,10 +66,10 @@ const languageTypeProxy = (language, type) => { const languagesStringsToUse = selectedLanguagesStrings?.default ? selectedLanguagesStrings.default : fallbackLanguagesStrings.default; - return returnNextProperty( - languagesStringsToUse, - fallbackLanguagesStrings - ); + return returnNextProperty( + languagesStringsToUse, + fallbackLanguagesStrings + ); }, } );