diff --git a/resources/scripts/state/admin/servers.ts b/resources/scripts/state/admin/servers.ts index 8a2c0b3e3..afc95a5ec 100644 --- a/resources/scripts/state/admin/servers.ts +++ b/resources/scripts/state/admin/servers.ts @@ -8,7 +8,7 @@ export interface AdminServerStore { removeSelectedServer: Action; } -const roles: AdminServerStore = { +const servers: AdminServerStore = { selectedServers: [], setSelectedServers: action((state, payload) => { @@ -24,4 +24,4 @@ const roles: AdminServerStore = { }), }; -export default roles; +export default servers; diff --git a/resources/scripts/state/admin/users.ts b/resources/scripts/state/admin/users.ts index 6f0ae9582..6dcd4f80a 100644 --- a/resources/scripts/state/admin/users.ts +++ b/resources/scripts/state/admin/users.ts @@ -8,7 +8,7 @@ export interface AdminUserStore { removeSelectedUser: Action; } -const roles: AdminUserStore = { +const users: AdminUserStore = { selectedUsers: [], setSelectedUsers: action((state, payload) => { @@ -24,4 +24,4 @@ const roles: AdminUserStore = { }), }; -export default roles; +export default users;