const { href } = VM.require("devgovgigs.near/widget/core.lib.url"); href || (href = () => {}); const { kanbanBoards, handle, permissions } = props; // TODO: Convert this viewer to display the provided data via kanbanBoards return ( <Widget // TODO: LEGACY. src="devgovgigs.near/widget/gigs-board.entity.workspace.view.github.configurator" props={{ communityHandle: handle, // rather than fetching again via the handle link: href({ // do we need a link? gateway: "near.org", widgetSrc: "devgovgigs.near/widget/app", params: { page: "community", handle }, }), permissions, // TODO: REMOVE AFTER MIGRATION. nearDevGovGigsWidgetsAccountId: "devgovgigs.near", nearDevGovGigsWidgetsAccountId: "devgovgigs.near", }} /> );