Archived
set default map location to Gdańsk
This commit is contained in:
1 parent
86d9b4d44f
commit
1a7a3088f4
1 file changed
+2
-2
@@ -9,8 +9,8 @@ import styles from "./index.module.scss";
|
||||
|
||||
export const CreateEvent = () => {
|
||||
const mapSearchBox = useRef(null);
|
||||
let [center, setCenter] = useState([0, 0]);
|
||||
const [zoom, setZoom] = useState(2);
|
||||
let [center, setCenter] = useState(fromLonLat([18.667, 54.35]));
|
||||
const [zoom, setZoom] = useState(15);
|
||||
const history = useHistory();
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user