Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 committed Jun 5, 2023
1 parent ee3d1f3 commit 333d3a2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/console/app/routes/apps/$clientId/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,17 +227,15 @@ export default () => {
onSelect={(selected) => {
// type casting to DropdownSelectListItem instead of array
if (!Array.isArray(selected)) {
if (selected.value === appContactAddress) {
if (!selected || !selected.value) {
console.error('Error selecting email, try again')
return
}
if (!selected) {
console.error('No addressURN')
if (selected.value === appContactAddress) {
return
}
submit(
{
//TODO: temp fix. To be removed with full fix of typing issue
//@ts-ignore
addressURN: selected.value,
},
{
Expand Down

0 comments on commit 333d3a2

Please sign in to comment.