import type { RootState } from "@/store/store";



export const getAllusers = (state: RootState) => state.user.users;
export const getuserSelected = (state: RootState) => state.user.userSelected;
export const getuserConnected = (state: RootState) => state.user.userConnected;

export const userStatus = (state: RootState) => state.user.status;
export const userError = (state: RootState) => state.user.error;
