Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 9, 2025
1 parent 6e66e37 commit b45d846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/editor/cell/code/cell-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const CellEditorInternal = ({
const toggleHideCode = useEvent(() => {
// Use cellConfig.hide_code instead of hidden, since it may be temporarily shown
const nextHidden = !cellConfig.hide_code;

// For markdown cells, ensure the cell is run before hiding
if (nextHidden && languageAdapter === "markdown") {
runCell();
Expand Down

0 comments on commit b45d846

Please sign in to comment.