Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 59eb6d7

Browse files
committed
removed redundant do, fixed typo
1 parent 95a56e2 commit 59eb6d7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ECharts/Chart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports.setOptionImpl = function(option) {
3232
try {
3333
chart.setOption(option, false, false);
3434
} catch (e) {
35-
connsole.error(e);
35+
console.error(e);
3636
}
3737
};
3838
};

src/ECharts/Commands.purs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ import ECharts.Types.Phantom as TP
1616
import ECharts.Internal (undefinedValue)
1717

1818
series i m. Monad m CommandsT TP.SeriesI m ~> CommandsT (series I|i) m
19-
series a = do
20-
set "series" =<< buildSeries a
19+
series a = set "series" =<< buildSeries a
2120

2221
tooltip i m. Monad m CommandsT TP.TooltipI m ~> CommandsT (tooltip I|i) m
2322
tooltip a = set "tooltip" =<< buildObj a

0 commit comments

Comments
 (0)