// @flow import * as React from "react"; import { Switch, Route, Redirect, type Match } from "react-router-dom"; import Archive from "scenes/Archive"; import Collection from "scenes/Collection"; import Dashboard from "scenes/Dashboard"; import KeyedDocument from "scenes/Document/KeyedDocument"; import DocumentNew from "scenes/DocumentNew"; import Drafts from "scenes/Drafts"; import Error404 from "scenes/Error404"; import Login from "scenes/Login"; import Search from "scenes/Search"; import Settings from "scenes/Settings"; import Details from "scenes/Settings/Details"; import Events from "scenes/Settings/Events"; import Export from "scenes/Settings/Export"; import Groups from "scenes/Settings/Groups"; import Notifications from "scenes/Settings/Notifications"; import People from "scenes/Settings/People"; import Security from "scenes/Settings/Security"; import Shares from "scenes/Settings/Shares"; import Slack from "scenes/Settings/Slack"; import Tokens from "scenes/Settings/Tokens"; import Zapier from "scenes/Settings/Zapier"; import Starred from "scenes/Starred"; import Templates from "scenes/Templates"; import Trash from "scenes/Trash"; import Authenticated from "components/Authenticated"; import Layout from "components/Layout"; import SocketProvider from "components/SocketProvider"; import { matchDocumentSlug as slug } from "utils/routeHelpers"; const NotFound = () => ; const RedirectDocument = ({ match }: { match: Match }) => ( ); export default function Routes() { return ( ); }