Skip to content

[BUG] ProtectedRoute.jsx gives Uncaught NS_ERROR_ABORT #156

Description

@gbowne1

This is the error I get in my console, I mainly see this when I am navigated to the main view at the root route '/'

Firefox 116 mentions that it is coming from ProtectedRoute.jsx line #5

 const token = JSON.parse(localStorage.getItem('token'));

Here is the associated error:

Uncaught NS_ERROR_ABORT: 
    UserAuthenticated ProtectedRoute.jsx:5
    React 11
    workLoop scheduler.development.js:266
    flushWork scheduler.development.js:239
    performWorkUntilDeadline scheduler.development.js:533
    js scheduler.development.js:571
    js scheduler.development.js:633
    factory react refresh:6
    Webpack 24
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        <anonymous>
        <anonymous>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions