We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1260130 commit 06ee4c0Copy full SHA for 06ee4c0
app/scripts/migrations/078.js
@@ -18,10 +18,13 @@ export default {
18
};
19
20
function transformState(state) {
21
- if (state?.AppStateController?.collectiblesDetectionNoticeDismissed) {
+ if (
22
+ state?.AppStateController?.collectiblesDetectionNoticeDismissed !==
23
+ undefined
24
+ ) {
25
delete state.AppStateController.collectiblesDetectionNoticeDismissed;
26
}
- if (state?.metamask?.collectiblesDropdownState) {
27
+ if (state?.metamask?.collectiblesDropdownState !== undefined) {
28
delete state.metamask.collectiblesDropdownState;
29
30
return state;
0 commit comments