Skip to content

Commit b7e5aae

Browse files
committed
test
1 parent 8997a5e commit b7e5aae

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

docs/src/theme/ReactLiveScope/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ const Cell = (props: any) => {
1515
>
1616
{() => {
1717
// Keep the import via require in the BrowserOnly code block.
18-
const {
19-
Jupyter,
20-
} = require('@datalayer/jupyter-react/lib/jupyter/Jupyter');
21-
const {
22-
Cell,
23-
} = require('@datalayer/jupyter-react/lib/components/cell/Cell');
18+
const { Jupyter, Cell } = require('@datalayer/jupyter-react');
2419
return (
2520
<>
2621
<Jupyter

packages/docusaurus-plugin/src/theme/JupyterCell.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ const JupyterCell = (props: JupyterCellProps) => {
2121
>
2222
{() => {
2323
// Keep the import via require and keep it into the BrowserOnly code block..
24-
// const { JupyterReactTheme } = require('@datalayer/jupyter-react/lib/theme');
25-
// const { useJupyter } = require('@datalayer/jupyter-react/lib/jupyter/JupyterContext');
26-
const {
27-
Jupyter,
28-
} = require('@datalayer/jupyter-react/lib/jupyter/Jupyter');
29-
const {
30-
Cell,
31-
} = require('@datalayer/jupyter-react/lib/components/cell/Cell');
24+
// const { JupyterReactTheme } = require('@datalayer/jupyter-react');
25+
// const { useJupyter } = require('@datalayer/jupyter-react');
26+
const { Jupyter, Cell } = require('@datalayer/jupyter-react');
3227
const {
3328
jupyterServerUrl = 'https://oss.datalayer.run/api/jupyter-server',
3429
jupyterServerToken = '60c1661cc408f978c309d04157af55c9588ff9557c9380e4fb50785750703da6',

packages/docusaurus-plugin/src/theme/ReactLiveScope/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ const Cell = (props: any) => {
1515
>
1616
{() => {
1717
// Keep the import via require in the BrowserOnly code block.
18-
const {
19-
Jupyter,
20-
} = require('@datalayer/jupyter-react/lib/jupyter/Jupyter');
21-
const {
22-
Cell,
23-
} = require('@datalayer/jupyter-react/lib/components/cell/Cell');
18+
const { Jupyter, Cell } = require('@datalayer/jupyter-react');
2419
return (
2520
<>
2621
<Jupyter

0 commit comments

Comments
 (0)