Skip to content

Commit d40d065

Browse files
committed
add favourites to new dashboard
1 parent 064e557 commit d40d065

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 { FavoritesSection } from "@/components/Home/FavoritesSection/FavoritesSection";
2+
3+
export function DashboardFavoritesView() {
4+
return <FavoritesSection />;
5+
}

src/routes/router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { isFlagEnabled } from "@/components/shared/Settings/useFlags";
1717
import { BASE_URL, IS_GITHUB_PAGES } from "@/utils/constants";
1818

1919
import RootLayout from "../components/layout/RootLayout";
20+
import { DashboardFavoritesView } from "./Dashboard/DashboardFavoritesView";
2021
import { DashboardLayout } from "./Dashboard/DashboardLayout";
2122
import Editor from "./Editor";
2223
import Home from "./Home";
@@ -128,7 +129,7 @@ const dashboardComponentsRoute = createRoute({
128129
const dashboardFavoritesRoute = createRoute({
129130
getParentRoute: () => dashboardRoute,
130131
path: "/favorites",
131-
component: ComingSoon,
132+
component: DashboardFavoritesView,
132133
});
133134

134135
const dashboardRecentlyViewedRoute = createRoute({

0 commit comments

Comments
 (0)