|
|
|
@ -1,6 +1,6 @@ |
|
|
|
import { FC, ReactEventHandler } from "react"; |
|
|
|
import { useDispatch } from "react-redux"; |
|
|
|
|
|
|
|
import { useAppDispatch } from "app/hooks"; |
|
|
|
import SearchableList from "components/SearchableList"; |
|
|
|
import RoomListEntry from "modules/room/RoomListEntry"; |
|
|
|
import { RoomMap, roomGetAll } from "modules/room/slice"; |
|
|
|
@ -10,7 +10,7 @@ interface Props { |
|
|
|
} |
|
|
|
|
|
|
|
const RoomList: FC<Props> = ({ rooms }) => { |
|
|
|
const dispatch = useDispatch(); |
|
|
|
const dispatch = useAppDispatch(); |
|
|
|
|
|
|
|
const onRefresh: ReactEventHandler = (event) => { |
|
|
|
event.preventDefault(); |
|
|
|
|