Skip to content

Commit c77f9be

Browse files
committed
chore: lint fixes
1 parent 24e6c54 commit c77f9be

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

apps/web/src/routes/_app/dashboard.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import { Area, AreaChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YA
1111

1212
import { PageHeader } from '@/components/PageHeader';
1313
import { useInstrumentInfoQuery } from '@/hooks/useInstrumentInfoQuery';
14+
import { useInstrumentRecords } from '@/hooks/useInstrumentRecords';
1415
import { summaryQueryOptions, useSummaryQuery } from '@/hooks/useSummaryQuery';
15-
import { useAppStore } from '@/store';
1616
import { useUsersQuery } from '@/hooks/useUsersQuery';
17-
import { useInstrumentRecords } from '@/hooks/useInstrumentRecords';
17+
import { useAppStore } from '@/store';
1818

1919
const RouteComponent = () => {
2020
const changeGroup = useAppStore((store) => store.changeGroup);
@@ -45,9 +45,9 @@ const RouteComponent = () => {
4545

4646
const instrumentInfo = instrumentData?.map((instrument) => {
4747
return {
48+
id: instrument.id,
4849
kind: instrument.kind,
49-
title: instrument.details.title,
50-
id: instrument.id
50+
title: instrument.details.title
5151
};
5252
});
5353

@@ -56,8 +56,8 @@ const RouteComponent = () => {
5656
const recordCounter =
5757
instrumentInfo?.map((title) => {
5858
return {
59-
instrumentTitle: title.title,
60-
count: recordIds?.filter((val) => val === title.id).length ?? 0
59+
count: recordIds?.filter((val) => val === title.id).length ?? 0,
60+
instrumentTitle: title.title
6161
};
6262
}) ?? [];
6363

0 commit comments

Comments
 (0)