proto-plugin 0.1.5 → 0.1.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-plugin",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
@@ -327,15 +327,11 @@ export function CommentCaptureToolbar<TState = unknown>({
327
327
  const openCommentsPanel = useCallback(() => {
328
328
  if (integratedReview) {
329
329
  review.setCaptureChannel("comment");
330
- }
331
- setActiveRestoreId(null);
332
- setIsGiveAMomentMode(true);
333
- setIsActive(true);
334
- if (integratedReview) {
335
330
  review.openSidebar("comments");
336
- } else {
337
- setShowCommentsSidebar(true);
331
+ return;
338
332
  }
333
+ setIsActive(true);
334
+ setShowCommentsSidebar(true);
339
335
  }, [integratedReview, review]);
340
336
 
341
337
  const enterChangelogMode = useCallback(() => {