|
|
@ -5,8 +5,11 @@ import attachFocusToQuery from "../hooks/useFocus"; |
|
|
|
import { MapMarkerList } from "../components/MapMarkerList"; |
|
|
|
import formsApi from "../api/getforms"; |
|
|
|
import useMarkers from "../hooks/selectFromDB"; |
|
|
|
import HeaderBarMenu from "../components/HeaderBarMenu"; |
|
|
|
|
|
|
|
export default function MapFeedScreen(props) { |
|
|
|
HeaderBarMenu(props.navigation); |
|
|
|
|
|
|
|
export default function MapFeedScreen() { |
|
|
|
const focusChanged = attachFocusToQuery(); |
|
|
|
const [error, setError] = useState(false); |
|
|
|
const markers = useMarkers(focusChanged); |
|
|
|