Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
fix: tsc error
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Aug 3, 2023
1 parent c20d80e commit 256cd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/split.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function setSplitCollapsed(
const lastCollapsed = addon.data.state.splitCollapsed;
addon.data.state.splitCollapsed = collapsed;
if (lastCollapsed && !collapsed) {
addon.hooks.onPreview(document);
addon.hooks.onPreview();
}
}
const toCollapseKeys = [PreviewType.info, PreviewType.attachment];
Expand Down

0 comments on commit 256cd9c

Please sign in to comment.