zlisen 4 years ago
parent
commit
eb8bbb0042
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/reducers/user.js

+ 2
- 2
src/reducers/user.js View File

43
         return {
43
         return {
44
           ...state,
44
           ...state,
45
           ...action.user,
45
           ...action.user,
46
-          // role: 'landlord',
47
-          role: 'customer',
46
+          role: 'landlord',
47
+          // role: 'customer',
48
         }
48
         }
49
       } else {
49
       } else {
50
         return {
50
         return {