Skip to content

Commit

Permalink
Removed trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
owenandrews committed Nov 19, 2020
1 parent cc2d020 commit 03b01b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/utils-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const matchBrowserLocale = (appLocales, browserLocales) => {
// Normalise appLocales input
appLocales = appLocales.map(appLocale => ({
code: typeof appLocale === 'string' ? appLocale : appLocale.code,
iso: typeof appLocale === 'string' ? appLocale : (appLocale.iso || appLocale.code),
iso: typeof appLocale === 'string' ? appLocale : (appLocale.iso || appLocale.code)
}))

// First pass: match exact locale.
Expand Down

0 comments on commit 03b01b8

Please sign in to comment.