Skip to content

Commit

Permalink
fix(extension): some storage variables might not be available (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceahasegan authored and mchappell committed Oct 29, 2024
1 parent 17191f3 commit c4cca0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const confirmationCallback: walletCip30.CallbackConfirmation = {
async (args) => {
try {
const { namiMigration } = await getBackgroundStorage();
if (namiMigration.mode === 'nami') {
if (namiMigration?.mode === 'nami') {
// User has to explicitly set collateral from the popup UI
return [];
}
Expand Down

0 comments on commit c4cca0a

Please sign in to comment.