Skip to content

Commit

Permalink
fix: made dynamic treemap import ssr false
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Oct 11, 2023
1 parent 0b914ba commit 9a94bf0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function BreadCrumb({ isActive, ...rest }: any) {
);
}

const ResponsiveTreeMapHtml = dynamic(() => import("@nivo/treemap").then((module) => module.ResponsiveTreeMapHtml));
const ResponsiveTreeMapHtml = dynamic(() => import("@nivo/treemap").then((module) => module.ResponsiveTreeMapHtml), {
ssr: false,
});

export const ContributionsTreemap = ({ setRepoId, repoId, data, color, onClick }: ContributionsTreemapProps) => {
return (
Expand Down

0 comments on commit 9a94bf0

Please sign in to comment.