Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (props.group === undefined && props.account === undefined) {
return new Error('Missing value for account or group. Validation failed.')
}
}
}
const mapStateToProps = state => ({
filteringDoc: getFilteringDoc(state)
})
const mapDispatchToProps = dispatch => ({
filterByDoc: doc => dispatch(filterByDoc(doc))
})
export default compose(
translate(),
withRouter,
withBreakpoints(),
connect(
mapStateToProps,
mapDispatchToProps
)
)(BalanceRow)
<p>
<button> router.push('/settings/groups')}
className={cx(btnStyles['btn--no-outline'], 'u-pv-1')}
label={t('Groups.manage-groups')}
/>
<p></p>
)}
)
}
}
export default compose(
withRouter,
translate()
)(BalanceGroups)
</button></p>