Skip to content

Commit

Permalink
add loading delay to fix #58?
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-islam committed Apr 11, 2021
1 parent cd433e0 commit a4b6e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ locale.subscribe((value) => {
export function startClient() {
init({
fallbackLocale: 'en',
loadingDelay: 0,
loadingDelay: 200,
formats: {},
warnOnMissingMessages: true,
initialLocale: localStorage.getItem('locale') || getLocaleFromNavigator()
Expand Down

0 comments on commit a4b6e12

Please sign in to comment.