Skip to content

Commit 017a2d7

Browse files
committed
#855 - Fix collapsible state
1 parent 3019ba1 commit 017a2d7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"no-throw-literal": "error",
1313
"no-unused-expressions": "error",
1414
"curly": "error",
15-
"class-methods-use-this": "warn"
15+
"class-methods-use-this": "warn",
16+
"no-console": "warn"
1617
}
1718
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [10.4.1] - 2024-09-27
4+
5+
- [#855](https://github.com/estruyf/vscode-front-matter/issues/855): Fix in panel sections
6+
37
## [10.4.0] - 2024-09-25 - [Release notes](https://beta.frontmatter.codes/updates/v10.4.0)
48

59
### ✨ New features

src/panelWebView/components/Collapsible.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const Collapsible: React.FunctionComponent<ICollapsibleProps> = ({
2727
}
2828

2929
const prevState: any = Messenger.getState();
30-
console.log(collapseKey, prevState[collapseKey]);
3130

3231
if (
3332
!prevState ||

0 commit comments

Comments
 (0)