fix link token
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import {ROLE} from '../../actions/role';
|
||||
|
||||
let roles = JSON.parse(localStorage.getItem('roles'));
|
||||
|
||||
const initialState = {
|
||||
role: null
|
||||
role: roles
|
||||
};
|
||||
export default function role(state = initialState, action) {
|
||||
switch(action.type){
|
||||
|
||||
Reference in New Issue
Block a user