We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f6f4a commit 893ba0cCopy full SHA for 893ba0c
1 file changed
apps/web/src/hooks/useInstrumentVisualization.ts
@@ -84,7 +84,7 @@ export function useInstrumentVisualization({ params }: UseInstrumentVisualizatio
84
};
85
86
const makeLongRows = () => {
87
- const longRecord: any[] = [];
+ const longRecord: { [key: string]: any }[] = [];
88
89
exportRecords.forEach((item) => {
90
let date: Date;
@@ -101,8 +101,9 @@ export function useInstrumentVisualization({ params }: UseInstrumentVisualizatio
101
longRecord.push({
102
Date: toBasicISOString(date),
103
SubjectID: params.subjectId,
104
- Value: arrItem,
105
- Variable: `${objKey}-${arrKey}`
+ Variable: `${objKey}-${arrKey}`,
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, perfectionist/sort-objects
106
+ Value: arrItem
107
});
108
109
0 commit comments