Guards App's routes that need a session: the dump editor, /notifications, /community, /settings and /manage. Index sends a guest on the "follow" tab to sign in the same way.

Functions

f
RestrictedLoggedIn(unnamed 0: RestrictedLoggedInProps): React.JSX.Element

Renders children when someone is signed in, and otherwise replaces the page with /login, which comes back to it once signed in: a digest's link to /notifications opened signed out lands there after all.

Interfaces