score:2

In your FormattedMessage component, you need to set a default value on id

FormattedMessage.defaultProps = {
 id: 0
}

Related Query

More Query from same tag