Skip to content

Commit 7831c77

Browse files
committed
fix build error
1 parent 07ef384 commit 7831c77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/LightCurvePlot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default function LightCurvePlot() {
190190
}
191191
}
192192

193-
x = x.concat(x.map(v => v + 1));
193+
x = x.concat(x.map(v => typeof v === 'number' ? v + 1 : v));
194194
y = y.concat(y);
195195
err = err.concat(err);
196196
customdata = customdata.concat(customdata);

0 commit comments

Comments
 (0)