Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
evansmj committed Dec 26, 2024
1 parent 61721e1 commit c859aee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions apps/frontend/src/components/App/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import React, { Component } from 'react';

import './App.scss';
import { useContext, useEffect } from 'react';
import { Navigate, Outlet, RouterProvider, createBrowserRouter } from 'react-router-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function BalanceSheetGraph({ balanceSheetData, width }) {
} else {
d3.select(d3Container.current).append("text").text("No data");
}
}, [balanceSheetData, width]);
}, [balanceSheetData, width, formatBalance]);

return (
<div ref={d3Container} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function SatsFlowGraph({ satsFlowData, width }: { satsFlowData: SatsFlow, width:
}
}
}
}, [satsFlowData, width]);
}, [satsFlowData, width, formatSats]);
return (
<div ref={d3Container} />
);
Expand Down

0 comments on commit c859aee

Please sign in to comment.