Skip to content

Login page does not show up on IE10 #47

@ghost

Description

Error: Unable to get property location of undefined

Related compiled code:

function Login(props) {
  _classCallCheck(this, Login);

  var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Login).call(this, props));

  var _this$props = _this.props;
  //error: props is undefined
  var location = _this$props.location;
  var router = _this$props.router;

Original code:

const { location, router } = this.props

The same code in the Model Explorer seems to work: https://github.com/UNECE/Model-Explorer/blob/563319421379a9276109f1470c28ba15463300ea/src/js/components/login.js#L10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions