Skip to content

Commit 080bde2

Browse files
committed
Adds recently viewed
1 parent 8301e19 commit 080bde2

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { RecentlyViewedSection } from "@/components/Home/RecentlyViewedSection/RecentlyViewedSection";
2+
3+
export function DashboardRecentlyViewedView() {
4+
return <RecentlyViewedSection />;
5+
}

src/routes/router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { BASE_URL, IS_GITHUB_PAGES } from "@/utils/constants";
1919
import RootLayout from "../components/layout/RootLayout";
2020
import { DashboardFavoritesView } from "./Dashboard/DashboardFavoritesView";
2121
import { DashboardLayout } from "./Dashboard/DashboardLayout";
22+
import { DashboardRecentlyViewedView } from "./Dashboard/DashboardRecentlyViewedView";
2223
import Editor from "./Editor";
2324
import Home from "./Home";
2425
import { ImportPage } from "./Import";
@@ -135,7 +136,7 @@ const dashboardFavoritesRoute = createRoute({
135136
const dashboardRecentlyViewedRoute = createRoute({
136137
getParentRoute: () => dashboardRoute,
137138
path: "/recently-viewed",
138-
component: ComingSoon,
139+
component: DashboardRecentlyViewedView,
139140
});
140141

141142
const quickStartRoute = createRoute({

0 commit comments

Comments
 (0)