Skip to content

Commit

Permalink
fix: build error due to dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshesh14 committed Sep 25, 2023
1 parent 75aee1d commit 46d1309
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/layouts/app-layout/app-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ import {
WorkspaceSidebarMenu,
} from "components/workspace";

const WorkspaceSidebarQuickAction = dynamic(
() => import("components/workspace").then((mod) => mod.WorkspaceSidebarQuickAction),
const WorkspaceSidebarQuickAction = dynamic<{}>(
() =>
import("components/workspace/sidebar-quick-action").then(
(mod) => mod.WorkspaceSidebarQuickAction
),
{
ssr: false,
}
Expand Down

0 comments on commit 46d1309

Please # to comment.