Skip to content

Commit e04fa20

Browse files
committed
fix lints
1 parent 14d6e3d commit e04fa20

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

apps/frontend/src/components/App/App.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React, { Component } from 'react';
2-
31
import './App.scss';
42
import { useContext, useEffect } from 'react';
53
import { Navigate, Outlet, RouterProvider, createBrowserRouter } from 'react-router-dom';

apps/frontend/src/components/bookkeeper/BalanceSheet/Graph/BalanceSheetGraph.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function BalanceSheetGraph({ balanceSheetData, width }) {
150150
} else {
151151
d3.select(d3Container.current).append("text").text("No data");
152152
}
153-
}, [balanceSheetData, width]);
153+
}, [balanceSheetData, width, formatBalance]);
154154

155155
return (
156156
<div ref={d3Container} />

apps/frontend/src/components/bookkeeper/SatsFlow/SatsFlowGraph/SatsFlowGraph.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function SatsFlowGraph({ satsFlowData, width }: { satsFlowData: SatsFlow, width:
242242
}
243243
}
244244
}
245-
}, [satsFlowData, width]);
245+
}, [satsFlowData, width, formatSats]);
246246
return (
247247
<div ref={d3Container} />
248248
);

0 commit comments

Comments
 (0)