File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { Loading } from './styles';
16
16
17
17
const BarChart : React . FC < ChartDataProps > = ( { onEmpty } ) => {
18
18
let cashFlowFormatted : ChartInterface [ ] ;
19
- const [ chartOptions , setChartOptions ] = useState < any > ( ) ;
19
+ const [ chartOptions , setChartOptions ] = useState < unknown > ( ) ;
20
20
21
21
const formatTransactions = ( cashFlow : CashFlowInterface ) => {
22
22
const flowData : KeyValueStringInterface = { } ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const LineChart: React.FC<ChartDataProps> = ({ onEmpty }) => {
20
20
let debits : TransactionInterface [ ] ;
21
21
let credits : TransactionInterface [ ] ;
22
22
23
- const [ chartOptions , setChartOptions ] = useState < any > ( ) ;
23
+ const [ chartOptions , setChartOptions ] = useState < unknown > ( ) ;
24
24
25
25
const formatTransactions = ( ) => {
26
26
const totalDebits : KeyValueNumberInterface = { } ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const PieChart: React.FC = () => {
16
16
let debitsFormatted : ChartInterface [ ] ;
17
17
let debits : TransactionInterface [ ] ;
18
18
19
- const [ chartOptions , setChartOptions ] = useState < any > ( ) ;
19
+ const [ chartOptions , setChartOptions ] = useState < unknown > ( ) ;
20
20
21
21
const formatTransactions = ( ) => {
22
22
const totalDebits : KeyValueNumberInterface = { } ;
You can’t perform that action at this time.
0 commit comments