don't re-hide when a request comes in while showing approval screen

This commit is contained in:
Joseph Montanaro
2023-04-21 11:18:20 -07:00
parent e0c4c849dc
commit fd60899f16
2 changed files with 14 additions and 5 deletions

8
src/lib/errors.js Normal file
View File

@ -0,0 +1,8 @@
export function getRootCause(error) {
if (error.source) {
return getRootCause(error.source);
}
else {
return error;
}
}