File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/layouts/insight/sections/interest-expense/interest-expense-chart Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import { ga4DataLayerPush } from '../../../../../helpers/google-analytics/google
1212import ChartTableContainer from '../../../../../components/chart-with-table/chart-table-container/chart-table-container' ;
1313import DtgTable from '../../../../../components/dtg-table/dtg-table' ;
1414import { chartTableBoarder } from './interest-expense-chart.module.scss' ;
15- import { SortingState } from '../../../insight-helper' ;
1615import { useRecoilValue } from 'recoil' ;
1716import { smallTableDownloadDataCSV } from '../../../../../recoil/smallTableDownloadData' ;
1817
@@ -46,7 +45,7 @@ const InterestExpenseChart = () => {
4645 const [ curRate , setCurRate ] = useState < number > ( 0 ) ;
4746 const [ chartFocus , setChartFocus ] = useState < boolean > ( false ) ;
4847 const [ chartHover , setChartHover ] = useState < boolean > ( false ) ;
49- const [ sorting , setSorting ] = useState < SortingState > ( [ ] ) ;
48+ const [ sorting , setSorting ] = useState ( [ ] ) ;
5049 const [ downloadData , setDownloadData ] = useState ( [ ] ) ;
5150 const chartTitle = `Interest Expense and Average Interest Rates on the National Debt FY ${ startFY } - FYTD ${ currentFY } ` ;
5251 const tableCSVData = useRecoilValue ( smallTableDownloadDataCSV ) ;
You can’t perform that action at this time.
0 commit comments