Fix named exports for state (#3578)
This commit is contained in:
parent
ded71c9af1
commit
9f00c353b1
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ export interface AdminServerStore {
|
|||
removeSelectedServer: Action<AdminServerStore, number>;
|
||||
}
|
||||
|
||||
const roles: AdminServerStore = {
|
||||
const servers: AdminServerStore = {
|
||||
selectedServers: [],
|
||||
|
||||
setSelectedServers: action((state, payload) => {
|
||||
|
@ -24,4 +24,4 @@ const roles: AdminServerStore = {
|
|||
}),
|
||||
};
|
||||
|
||||
export default roles;
|
||||
export default servers;
|
||||
|
|
|
@ -8,7 +8,7 @@ export interface AdminUserStore {
|
|||
removeSelectedUser: Action<AdminUserStore, number>;
|
||||
}
|
||||
|
||||
const roles: AdminUserStore = {
|
||||
const users: AdminUserStore = {
|
||||
selectedUsers: [],
|
||||
|
||||
setSelectedUsers: action((state, payload) => {
|
||||
|
@ -24,4 +24,4 @@ const roles: AdminUserStore = {
|
|||
}),
|
||||
};
|
||||
|
||||
export default roles;
|
||||
export default users;
|
||||
|
|
Loading…
Reference in a new issue