// External imports
import * as React from "react"
// Internal imports
import * as ce from "../helpers/componentEnhancer"
import Private from "./private/private"
import Public from "./public/public"
import LoadingIndicator from "./reusable/loadingIndicator"
import AlertCenter from "./alertCenter/alertCenter"
export interface ParentProps {}
interface StateProps {
accessToken: string
rehydrationComplete: boolean
}
interface DispatchProps {}
class Root extends React.Component<
ParentProps & StateProps & DispatchProps & ce.EnhancedPropsPrivate
> {
render() {
let componentToPresent
if (this.props.rehydrationComplete) {
if (this.props.accessToken) {
componentToPresent =