@marimo-team/frontend 0.24.3-dev28 → 0.24.3-dev30

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": "@marimo-team/frontend",
3
- "version": "0.24.3-dev28",
3
+ "version": "0.24.3-dev30",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -451,7 +451,8 @@ const EditableCellComponent = ({
451
451
  cellRuntime.staleInputs) &&
452
452
  !cellRuntime.interrupted;
453
453
 
454
- // Callback to get the editor view.
454
+ // This getter is called during render, so useEvent cannot be used here.
455
+ // oxlint-disable-next-line react/preserve-manual-memoization
455
456
  const getEditorView = useCallback(() => editorView.current, [editorView]);
456
457
 
457
458
  // Use the extracted hooks
@@ -1096,7 +1097,8 @@ const SetupCellComponent = ({
1096
1097
  cellRuntime.staleInputs) &&
1097
1098
  !cellRuntime.interrupted;
1098
1099
 
1099
- // Callback to get the editor view.
1100
+ // This getter is called during render, so useEvent cannot be used here.
1101
+ // oxlint-disable-next-line react/preserve-manual-memoization
1100
1102
  const getEditorView = useCallback(() => editorView.current, [editorView]);
1101
1103
 
1102
1104
  const { isCellCodeShown, showHiddenCode } = useCellHiddenLogic({