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,8 +43,8 @@ export default function user(state = INITIAL_STATE, action) {
43 43
         return {
44 44
           ...state,
45 45
           ...action.user,
46
-          // role: 'landlord',
47
-          role: 'customer',
46
+          role: 'landlord',
47
+          // role: 'customer',
48 48
         }
49 49
       } else {
50 50
         return {