Skip to content

Commit

Permalink
fixed center position error
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou committed Jun 2, 2024
1 parent a9d1399 commit e4f00e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function Home() {

const [isEdit, setIsEdit] = useState(false);
const [isCreate, setIsCreate] = useState(true);
const centerPosition = [33.6461, -117.8427];
const centerPosition = L.latLng(33.6461, -117.8427);
const [position, setPosition] = useState(centerPosition);
const [focusLocation, setFocusLocation] = useState();
const [uploadImg, setUploadImg] = useState("");
Expand Down

0 comments on commit e4f00e0

Please sign in to comment.