Skip to content

Commit

Permalink
Merge pull request #97 from mydoge-com/refactor-popup-handling
Browse files Browse the repository at this point in the history
Refactor extension popups
  • Loading branch information
alexanvl authored Sep 12, 2024
2 parents 0eb5d03 + fe72257 commit 2f16b03
Show file tree
Hide file tree
Showing 15 changed files with 599 additions and 1,058 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"es2021": true,
"react-native/react-native": true
},
// "parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"ecmaVersion": 2022,
"ecmaFeatures": {
"jsx": true
},
Expand Down
2 changes: 1 addition & 1 deletion Context.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const AppContextProvider = ({ children }) => {
case DISPATCH_TYPES.SET_CLIENT_REQUEST:
return { ...state, clientRequest: payload.clientRequest };
case DISPATCH_TYPES.CLEAR_CLIENT_REQUEST:
setTimeout(() => window?.close(), 1500);
window?.close();
return { ...state };
case DISPATCH_TYPES.SET_CONTEXT_LOADED:
return { ...state, ready: payload.ready };
Expand Down
24 changes: 12 additions & 12 deletions docs/MyDogeWallet.html

Large diffs are not rendered by default.

Loading

0 comments on commit 2f16b03

Please sign in to comment.