We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8586cb9 commit 8e688c9Copy full SHA for 8e688c9
packages/react/src/examples/Cell.tsx
@@ -6,6 +6,7 @@
6
7
import { createRoot } from 'react-dom/client';
8
import { Box, Button } from '@primer/react';
9
+import { CodeCell } from '@jupyterlab/cells';
10
import { useJupyterStore } from './../state';
11
import Jupyter from '../jupyter/Jupyter';
12
import Cell from '../components/cell/Cell';
@@ -21,7 +22,7 @@ for i in range(100):
21
22
23
const CellExample = () => {
24
const cellStore = useJupyterStore().cellStore();
- console.log('Cell Outputs', cellStore.adapter?.codeCell.outputArea.model.toJSON());
25
+ console.log('Cell Outputs', (cellStore.adapter?.cell as CodeCell).outputArea.model.toJSON());
26
return (
27
<Jupyter>
28
<Box as="h1">A Jupyter Cell</Box>
0 commit comments