@seafile/comment-editor 0.0.1-alpha.73 → 0.0.1-alpha.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,14 +47,11 @@ const CommentEditor = _ref => {
47
47
  toolMenus = ['text_style', _constants2.BLOCKQUOTE, _constants2.UNORDERED_LIST, _constants2.ORDERED_LIST, _constants2.LINK, _constants2.IMAGE],
48
48
  closePanel
49
49
  } = _ref;
50
- const commentWrapperRef = (0, _react.useRef)();
51
- // const { t } = useTranslation('sdoc-editor');
50
+ // const commentWrapperRef = useRef();
52
51
  const {
53
- className,
54
- userInfo,
55
- type,
56
- addParticipants
57
- } = (0, _useComment.useComment)();
52
+ t
53
+ } = (0, _reactI18next.useTranslation)('sdoc-editor');
54
+ // const { className, userInfo, type, addParticipants } = useComment();
58
55
  // const submitTip = useMemo(() => getSubmitTip(type, content), [content, type]);
59
56
 
60
57
  // const document = useMemo(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/comment-editor",
3
- "version": "0.0.1-alpha.73",
3
+ "version": "0.0.1-alpha.74",
4
4
  "private": false,
5
5
  "description": "This is a comment editor",
6
6
  "main": "dist/index.js",