Skip to content

Commit dab10a9

Browse files
authored
Merge pull request #1901 from fedspendingtransparency/FDG-10749-fix
FDG-10749 Sorting state fixed
2 parents a7b10ec + 5dffde9 commit dab10a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/layouts/insight/sections/interest-expense/interest-expense-chart/interest-expense-chart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { ga4DataLayerPush } from '../../../../../helpers/google-analytics/google
1212
import ChartTableContainer from '../../../../../components/chart-with-table/chart-table-container/chart-table-container';
1313
import DtgTable from '../../../../../components/dtg-table/dtg-table';
1414
import { chartTableBoarder } from './interest-expense-chart.module.scss';
15-
import { SortingState } from '../../../insight-helper';
1615
import { useRecoilValue } from 'recoil';
1716
import { 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);

0 commit comments

Comments
 (0)