Skip to content

Commit 698edca

Browse files
authored
Fixed hardcoded value instead of var
whoopsie
1 parent d2ef2c7 commit 698edca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Content/PlotWidget/PlotWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ const PlotWidget: React.FC<PlotWidgetProps> = React.memo(
12051205
timeMs += 5000;
12061206
}
12071207

1208-
showSnackbarAndLog(message, "error", null, 10000);
1208+
showSnackbarAndLog(message, "error", null, timeMs);
12091209
}
12101210
if (valuesLostInMapping) {
12111211
// This is quite common and shouldnt impact ux negatively by popping up all the time, so lets put it into the console so it can be used for debugging bad plots

0 commit comments

Comments
 (0)