Skip to content

Commit

Permalink
Fix projects page
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Feb 2, 2024
1 parent a0e1990 commit e21b0ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/builddao/widget/page/projects.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
const { currentPath, page, ...passProps } = props;

const { routes } = VM.require("buildhub.near/widget/config.project") ?? {
routes: {}
const { routes } = VM.require("buildhub.near/widget/config.projects") ?? {
routes: {},
};

const { theme } = VM.require("buildhub.near/widget/config.theme") ?? {
theme: {}
theme: {},
};

const { SidebarLayout } = VM.require(
"buildhub.near/widget/template.SidebarLayout"
) || {
SidebarLayout: () => <>Layout loading...</>
SidebarLayout: () => <>Layout loading...</>,
};

if (!page) page = Object.keys(routes)[0] || "home";
Expand Down

0 comments on commit e21b0ba

Please sign in to comment.