update demo-restaurant-finder,

This commit is contained in:
louiscklaw
2025-06-08 19:08:00 +08:00
parent c765bb49a4
commit 4c1b30e5c6

View File

@@ -37,7 +37,7 @@ import { useRef } from 'react';
const maptilerProvider = maptiler('d5JQJPLLuap8TkJJlTdJ', 'streets');
const ViewPlace = ({}) => {
const pageRef = useRef();
const pageRef = useRef(null);
const [present, dismiss] = useIonLoading();
const { id } = useParams();
const record = RecordsStore.useState(fetchRecord(id));