Skip to content

Commit

Permalink
remove is out
Browse files Browse the repository at this point in the history
  • Loading branch information
shaankhosla committed Oct 15, 2023
1 parent 4b5e7e7 commit 6245d61
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const numberFormatterTooltip = (value: PotentialNumber): number | null => {
};

function SankeyNode({ x, y, width, height, index, payload }) {
const isOut = x + width + 6 > width;
// const isOut = x + width + 6 > containerWidth;
const isOut = false // not configured yet

Check warning on line 27 in packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx

View workflow job for this annotation

GitHub Actions / lint

Insert `;`
let payloadValue = Math.round(payload.value / 1000).toString();
if (payload.value < 1000) {
payloadValue = '<1k';
Expand Down

0 comments on commit 6245d61

Please sign in to comment.