Skip to content

Commit 25b75ed

Browse files
authored
fix: remove extra semicolons
1 parent 30ec2e3 commit 25b75ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function keyDown(chart: Chart, event: KeyboardEvent) {
5858
removeHandler(chart, 'keydown')
5959
state.dragging = false
6060
state.dragStart = state.dragEnd = undefined
61-
chart.draw();
61+
chart.draw()
6262
}
6363

6464
function getPointPosition(event: MouseEvent, chart: Chart) {
@@ -208,7 +208,7 @@ export function mouseUp(chart: Chart, event: MouseEvent) {
208208

209209
if (distance <= threshold) {
210210
state.dragging = false
211-
chart.draw();
211+
chart.draw()
212212
return
213213
}
214214

0 commit comments

Comments
 (0)