import React from 'react'; import { Router, Route, Redirect, IndexRoute, useRouterHistory } from 'react-router'; import { createHistory } from 'history'; import { joinRouteHandler, logoutRouteHandler, authenticatedRouteHandler } from './auth'; import Base from './base'; import LoadingScreen from '/imports/ui/components/loading-screen/component'; import ChatContainer from '/imports/ui/components/chat/container'; import UserListContainer from '/imports/ui/components/user-list/container'; const browserHistory = useRouterHistory(createHistory)({ basename: Meteor.settings.public.app.basename, }); export const renderRoutes = () => ( );