Git Product home page Git Product logo

jobhax's Issues

No redirect on incorrect URL

When going to the URL path that doesn't exist, a spinner with Page not found appears and keeps spinning. There is no auto redirection nor menu to navigate to the homepage.
102859703-d57b6c80-4445-11eb-9eb8-44df4c0ff0ee

Potential issue source code
I believe the issue is on the React side, precisely
https://github.com/goupaz/jobhax/blob/master/jts/frontend/src/components/App/App.jsx line 626-638

if (this.state.isAuthenticationChecking)
      return <Spinner message="Connecting..." />;
    else if (isUserLoggedIn && !this.state.active)
      return <Spinner message="Reaching your account..." />;
    else if (!this.pages.includes(page))
      return <Spinner message="Page not found!" />;
    else if (logout && page == "/home")
      return <Spinner message="Logging out..." />;
    else if (
      isUserLoggedIn &&
      this.state.active &&
      this.cookie("get", "jobhax_access_token")
    )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.