Skip to content

Commit

Permalink
hotfix(console): Temp fix for email selection in Team and contacts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
betimshahini committed Jun 2, 2023
1 parent 2e34ca8 commit 4b16bc7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions apps/console/app/routes/apps/$clientId/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,20 @@ export default () => {
onSelect={(selected) => {
// type casting to DropdownSelectListItem instead of array
if (!Array.isArray(selected)) {
if (selected.value === appContactAddress) {
//TODO: Temp fix. To be removed with full fix of typing issue
//@ts-ignore
if (selected === appContactAddress) {
return
}
if (!selected.value) {
if (!selected) {
console.error('No addressURN')
return
}
submit(
{
addressURN: selected.value,
//TODO: temp fix. To be removed with full fix of typing issue
//@ts-ignore
addressURN: selected,
},
{
method: 'post',
Expand Down

0 comments on commit 4b16bc7

Please sign in to comment.