fmt(js): npm run fix on merge (#67311)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-19 00:31:52 -04:00 committed by GitHub
parent fe3e5cf8aa
commit e598cef874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]
)
}