From e598cef87465981fcea1c0339edfcf5d9716c917 Mon Sep 17 00:00:00 2001 From: nousbot-eng Date: Sun, 19 Jul 2026 00:31:52 -0400 Subject: [PATCH] fmt(js): `npm run fix` on merge (#67311) Co-authored-by: github-actions[bot] --- apps/desktop/src/i18n/plugin-i18n.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/i18n/plugin-i18n.ts b/apps/desktop/src/i18n/plugin-i18n.ts index 6e1c00e5f0e9..a8e9c79a42b9 100644 --- a/apps/desktop/src/i18n/plugin-i18n.ts +++ b/apps/desktop/src/i18n/plugin-i18n.ts @@ -109,5 +109,8 @@ export function usePluginI18n(pluginId: string): PluginTranslate { // reads the live registry, so the memoized closure needs only id + locale. useStore($version) - return useCallback((key: string, ...args: unknown[]) => translatePlugin(pluginId, locale, key, args), [pluginId, locale]) + return useCallback( + (key: string, ...args: unknown[]) => translatePlugin(pluginId, locale, key, args), + [pluginId, locale] + ) }