feat: Pin to home (#2880)
This commit is contained in:
@@ -5,7 +5,6 @@ import Collection from "~/scenes/Collection";
|
||||
import DocumentNew from "~/scenes/DocumentNew";
|
||||
import Drafts from "~/scenes/Drafts";
|
||||
import Error404 from "~/scenes/Error404";
|
||||
import Home from "~/scenes/Home";
|
||||
import Search from "~/scenes/Search";
|
||||
import Templates from "~/scenes/Templates";
|
||||
import Trash from "~/scenes/Trash";
|
||||
@@ -30,6 +29,13 @@ const Document = React.lazy(
|
||||
"~/scenes/Document"
|
||||
)
|
||||
);
|
||||
const Home = React.lazy(
|
||||
() =>
|
||||
import(
|
||||
/* webpackChunkName: "home" */
|
||||
"~/scenes/Home"
|
||||
)
|
||||
);
|
||||
|
||||
const NotFound = () => <Search notFound />;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user