Exception in rendering!

Message: location is not defined

ReferenceError: location is not defined
    at t.value (<anonymous>:70:89032)
    at _renderValidatedComponentWithoutOwnerOrContext (<anonymous>:70:443601)
    at _renderValidatedComponent (<anonymous>:70:443728)
    at performInitialMount (<anonymous>:70:439569)
    at mountComponent (<anonymous>:70:438615)
    at Object.mountComponent (<anonymous>:46:106158)
    at performInitialMount (<anonymous>:70:439729)
    at mountComponent (<anonymous>:70:438615)
    at Object.mountComponent (<anonymous>:46:106158)
    at mountChildren (<anonymous>:70:434449)