import { Container, Header, Table, Icon } from "semantic-ui-react"; import { useGetAllSystemsQuery, } from '../features/api/apiSlice' import SystemRow from "./SystemRow"; // ---------------------------------------------------- const AllSystems = () => { const { data: users, isSuccess } = useGetAllSystemsQuery(); //https://stackoverflow.com/questions/36559661/how-can-i-dispatch-from-child-components-in-react-redux //https://stackoverflow.com/questions/42597602/react-onclick-pass-event-with-parameter return (