Skip to content

Commit c4b0680

Browse files
committed
chore(draft-js-undo-plugin): fix lint errors and bump version
1 parent 26970cd commit c4b0680

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

draft-js-undo-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "draft-js-undo-plugin",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Undo Plugin for DraftJS",
55
"author": {
66
"name": "Nik Graf",

draft-js-undo-plugin/src/RedoButton/__test__/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe('RedoButton', () => {
9797
children="redo"
9898
/>
9999
);
100-
result.find('button').simulate('click', { stopPropagation: ()=> undefined });
100+
result.find('button').simulate('click', { stopPropagation: () => undefined });
101101
expect(onChange).to.have.been.calledOnce;
102102
});
103103
});

draft-js-undo-plugin/src/UndoButton/__test__/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe('UndoButton', () => {
9696
children="redo"
9797
/>
9898
);
99-
result.find('button').simulate('click', { stopPropagation: ()=> undefined });
99+
result.find('button').simulate('click', { stopPropagation: () => undefined });
100100
expect(onChange).to.have.been.calledOnce;
101101
});
102102
});

0 commit comments

Comments
 (0)