Should fix some of the UI Issues

This commit is contained in:
Luke Berndt
2023-01-19 21:29:18 -05:00
parent fef88f3517
commit 7f85f4079d
5 changed files with 23 additions and 22 deletions

View File

@@ -14,7 +14,6 @@ import "./FilterModal.css";
function GroupModal (props) {
const shortName = useSelector((state) => state.callPlayer.shortName);
const { data, isError, isLoading, isSuccess,error } = useGetGroupsQuery(props.shortName);
const [open, setOpen] = useState(false);
const [selectedGroup, setSelectedGroup] = useState(false);
const dispatch = useDispatch()
const onClose = props.onClose;
@@ -49,7 +48,7 @@ function GroupModal (props) {
return (
<Modal open={props.open} onClose={() => setOpen(false)} onOpen={() => setOpen(true)} size='tiny'>
<Modal open={props.open} onClose={onClose} size='tiny'>
<Modal.Header>Select a Group</Modal.Header>
<Modal.Content >