store: Remove unused selectors

This removes selectors that are no longer used.
This commit is contained in:
regexowl 2025-04-23 12:58:04 +02:00 committed by Sanne Raymaekers
parent 0b843a64d9
commit a07fbb6477

View file

@ -414,31 +414,6 @@ export const selectUsers = (state: RootState) => {
return state.wizard.users;
};
export const selectUserNameByIndex =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex]?.name;
};
export const selectUserPasswordByIndex =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex]?.password;
};
export const selectUserSshKeyByIndex =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex]?.ssh_key;
};
export const selectUserAdministrator =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex]?.isAdministrator;
};
export const selectUserGroupsByIndex =
(userIndex: number) => (state: RootState) => {
return state.wizard.users[userIndex]?.groups;
};
export const selectKernel = (state: RootState) => {
return state.wizard.kernel;
};