#855 - Fix collapsible state

This commit is contained in:
Elio Struyf
2024-09-27 09:03:30 +02:00
parent 3019ba1dff
commit 017a2d7597
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
"no-throw-literal": "error",
"no-unused-expressions": "error",
"curly": "error",
"class-methods-use-this": "warn"
"class-methods-use-this": "warn",
"no-console": "warn"
}
}
+4
View File
@@ -1,5 +1,9 @@
# Change Log
## [10.4.1] - 2024-09-27
- [#855](https://github.com/estruyf/vscode-front-matter/issues/855): Fix in panel sections
## [10.4.0] - 2024-09-25 - [Release notes](https://beta.frontmatter.codes/updates/v10.4.0)
### ✨ New features
@@ -27,7 +27,6 @@ const Collapsible: React.FunctionComponent<ICollapsibleProps> = ({
}
const prevState: any = Messenger.getState();
console.log(collapseKey, prevState[collapseKey]);
if (
!prevState ||