Skip to content

Commit

Permalink
Merge pull request #663 from CodeForAfrica/dependabot/npm_and_yarn/ni…
Browse files Browse the repository at this point in the history
…vo/pie-0.84.0

Bump @nivo/pie from 0.80.0 to 0.84.0
  • Loading branch information
kilemensi authored Dec 7, 2023
2 parents 4f13a6f + 9837d2a commit 4f151f9
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 27 deletions.
2 changes: 1 addition & 1 deletion apps/charterafrica/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@mui/utils": "^5.14.20",
"@next/env": "^14.0.3",
"@nivo/core": "^0.80.0",
"@nivo/pie": "^0.80.0",
"@nivo/pie": "^0.84.0",
"@nivo/tooltip": "^0.80.0",
"@nivo/waffle": "^0.80.0",
"@payloadcms/plugin-cloud-storage": "^1.1.1",
Expand Down
11 changes: 10 additions & 1 deletion apps/charterafrica/src/components/Ecosystem/Chart.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/* eslint-env browser */
import { Box, useTheme, useMediaQuery } from "@mui/material";
import dynamic from "next/dynamic";
import React, { useEffect, useState } from "react";

import { Pie, Waffle } from "@/charterafrica/components/Charts";
const Pie = dynamic(() => import("@/charterafrica/components/Charts/Pie"), {
ssr: false,
});
const Waffle = dynamic(
() => import("@/charterafrica/components/Charts/Waffle"),
{
ssr: false,
},
);

const Chart = React.forwardRef(function Chart(props, ref) {
const { data, ...other } = props;
Expand Down
12 changes: 2 additions & 10 deletions apps/charterafrica/src/components/Ecosystem/Ecosystem.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,10 @@ exports[`<Ecosystem /> renders unchanged 1`] = `
>
<div
class="MuiBox-root css-ii4xwr"
>
<div
style="width: 100%; height: 100%;"
/>
</div>
/>
<div
class="MuiBox-root css-qrdm0d"
>
<div
style="width: 100%; height: 100%;"
/>
</div>
/>
<div
class="MuiBox-root css-kx5zyc"
>
Expand Down
194 changes: 179 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f151f9

Please sign in to comment.