fix add account error message (#51)

Co-authored-by: Conner Luzier <connerluzier@outlook.com>
This commit is contained in:
Conner Luzier
2022-04-27 14:35:40 -04:00
committed by GitHub
parent 40143ae79d
commit c40fb9cc01
+1 -1
View File
@@ -342,7 +342,7 @@ const AccountForm = props => {
});
setAccountApplications(accountApplicationsData);
}
setSbcs(promiseAllValues[2].data);
setSbcs(promiseAllValues[2]?.data);
if (props.type === 'setup' && accountsData.length > 1) {
history.push('/internal/accounts');