Skip to content

Commit 880c6b7

Browse files
committed
fix: remove @cocreate/api
1 parent 6e8424c commit 880c6b7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
},
6363
"dependencies": {
6464
"@cocreate/actions": "^1.3.31",
65-
"@cocreate/api": "^1.2.25",
6665
"@cocreate/docs": "^1.2.68"
6766
}
6867
}

src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*globals CustomEvent*/
22
import action from '@cocreate/actions';
3-
// import CoCreateApi from '@cocreate/api';
43

54
const CoCreateRender = {
65

@@ -181,7 +180,7 @@ function renderKey(element) {
181180
}
182181

183182
action.init({
184-
action: "renderKey",
183+
name: "renderKey",
185184
endEvent: "renderKey",
186185
callback: (btn, data) => {
187186
renderKey(btn);

0 commit comments

Comments
 (0)