fix link token

This commit is contained in:
Nguyễn Hải Dũng
2022-12-21 14:26:16 +07:00
parent 12daa7b687
commit 58ebf27cf1
4 changed files with 35 additions and 12 deletions

View File

@@ -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){