Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SimpleMap = () => {
- return (
- <GoogleMap
- defaultZoom={12}
- defaultCenter={{ lat: 49.731250, lng: 18.643450 }}
- ></GoogleMap>
- );
- }
- MapWrapped = withScriptjs(withGoogleMap( this.SimpleMap ));
- //czemu wywala bląd jesli dam wywolanie funkcji SimpleMap?
- //gorne rozwiazanie dziala, dolne nie.
- // MapWrapped = withScriptjs(withGoogleMap( this.SimpleMap() ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement