Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikozet committed Jul 3, 2024
1 parent 2faea92 commit 165bdaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/user/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export function initializeUser() {
return async (dispatch, getState) => {
const { safe } = getState();

console.log('nitialize user is run2', migrationStatus);

if (!safe.currentAccount) {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/store/user/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const initialState = {

const userReducer = (state = initialState, action) => {
console.log('userReducer is run');
console.log('userReducer action', action);
switch (action.type) {
case ActionTypes.USER_MIGRATION_UPDATE:
console.log(
Expand Down
2 changes: 2 additions & 0 deletions src/views/MigrateYourProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const MigrateYourProfile = () => {
console.log('isMigrationAccepted from useEffect', isMigrationAccepted);
console.log('isMigrateData from useEffect', isMigrateData);
setIsMigrateData(isMigrationAccepted);
console.log('isMigrateData from useEffect', isMigrateData);

setIsLoading(false);

try {
Expand Down

0 comments on commit 165bdaf

Please sign in to comment.