Skip to content

Commit 8e688c9

Browse files
committed
fix: build
1 parent 8586cb9 commit 8e688c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react/src/examples/Cell.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import { createRoot } from 'react-dom/client';
88
import { Box, Button } from '@primer/react';
9+
import { CodeCell } from '@jupyterlab/cells';
910
import { useJupyterStore } from './../state';
1011
import Jupyter from '../jupyter/Jupyter';
1112
import Cell from '../components/cell/Cell';
@@ -21,7 +22,7 @@ for i in range(100):
2122

2223
const CellExample = () => {
2324
const cellStore = useJupyterStore().cellStore();
24-
console.log('Cell Outputs', cellStore.adapter?.codeCell.outputArea.model.toJSON());
25+
console.log('Cell Outputs', (cellStore.adapter?.cell as CodeCell).outputArea.model.toJSON());
2526
return (
2627
<Jupyter>
2728
<Box as="h1">A Jupyter Cell</Box>

0 commit comments

Comments
 (0)