Exception in rendering!

Message: location is not defined

ReferenceError: location is not defined
    at n.value (<anonymous>:36:1135495)
    at t (<anonymous>:36:386272)
    at G (<anonymous>:36:386535)
    at e.render (<anonymous>:36:388107)
    at e.read (<anonymous>:36:387843)
    at renderToString (<anonymous>:36:392113)
    at h (<anonymous>:36:1484026)
    at n.default (<anonymous>:36:179669)
    at n.default (<anonymous>:36:402457)
    at Object.serverRenderReactComponent (<anonymous>:36:200606)