Skip to content

Commit

Permalink
fix(withGoogleMap): make compatible with recompose@^0.26
Browse files Browse the repository at this point in the history
* Closes #659
  • Loading branch information
tomchentw committed Oct 11, 2017
1 parent 79a8b5f commit 450e1a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/withGoogleMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import _ from "lodash"
import warning from "warning"
import invariant from "invariant"
import { getDisplayName, createEagerFactory } from "recompose"
import { getDisplayName } from "recompose"
import PropTypes from "prop-types"
import React from "react"
import { MAP } from "./constants"

export function withGoogleMap(BaseComponent) {
const factory = createEagerFactory(BaseComponent)
const factory = React.createFactory(BaseComponent)

class Container extends React.PureComponent {
static displayName = `withGoogleMap(${getDisplayName(BaseComponent)})`
Expand Down

0 comments on commit 450e1a8

Please sign in to comment.