mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix for tests
This commit is contained in:
parent
4892a3e0e1
commit
21875d1dd3
@ -63,8 +63,8 @@ export default class EnsInput extends Component {
|
||||
value,
|
||||
} = this.props
|
||||
|
||||
// Update the value in state if its prop value changes
|
||||
if (input !== value) {
|
||||
// Set the value of our input based on QR code provided by parent
|
||||
if (input !== value && prevProps.value != value) {
|
||||
this.setState({ input: value })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user