MCPcopy Create free account
hub / github.com/AdamGold/Dryvo-App / componentDidUpdate

Method componentDidUpdate

src/components/AlertError.js:7–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6export default class AlertError extends React.Component {
7 componentDidUpdate() {
8 const error = this.props.dispatch(getError())
9 if (error) {
10 Alert.alert(strings("errors.title"), errors(error))
11 }
12 }
13
14 render() {}
15}

Callers

nothing calls this directly

Calls 3

getErrorFunction · 0.90
stringsFunction · 0.90
errorsFunction · 0.90

Tested by

no test coverage detected