From 9f00c353b1538316b8c74ea7a7707b5c742c1cfb Mon Sep 17 00:00:00 2001 From: LoaiDev <58875599+LoaiDev@users.noreply.github.com> Date: Sat, 11 Sep 2021 21:20:53 +0200 Subject: [PATCH] Fix named exports for state (#3578) --- resources/scripts/state/admin/servers.ts | 4 ++-- resources/scripts/state/admin/users.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;