From 4234faafc4f9080664b30cde330f8dfaa4672095 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 4 Jan 2024 11:01:51 -0500 Subject: [PATCH] Use arrow function --- src/js/i18n.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/js/i18n.js b/src/js/i18n.js index 6302b355d..f9bcc3f02 100644 --- a/src/js/i18n.js +++ b/src/js/i18n.js @@ -29,11 +29,7 @@ const i18n = ? self.browser.i18n : self.chrome.i18n; -/******************************************************************************/ - -function i18n$(...args) { - return i18n.getMessage(...args); -} +const i18n$ = (...args) => i18n.getMessage(...args); /******************************************************************************/