Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 7782e6a

Browse files
author
schnogz
committed
remove componentDidMount to fix double render issue
1 parent 7e2783f commit 7782e6a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • packages/blockchain-wallet-v4-frontend/src/providers/TranslationsProvider

packages/blockchain-wallet-v4-frontend/src/providers/TranslationsProvider/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ class TranslationsProvider extends React.Component {
1212
messages: {}
1313
}
1414

15-
componentDidMount () {
16-
this.initLocale()
17-
}
18-
1915
componentDidUpdate (prevProps) {
2016
if (this.props.locale !== prevProps.locale) {
2117
this.initLocale()

0 commit comments

Comments
 (0)