Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit 4a06adf

Browse files
committed
maybe casing it is fine after all
1 parent db6aec2 commit 4a06adf

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/template/pages/cell.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ const Index = () => {
1212
<div className="app">
1313
<Kernel repo="binder-examples/requirements" kernelName="python3">
1414
<Kernel.Consumer>
15-
{kernel => (
16-
<CodeState kernel={kernel}>
15+
{kernel =>
16+
kernel ? (
17+
<CodeState kernel={kernel}>
18+
<PresentationCell key={"the-cell"} />
19+
</CodeState>
20+
) : (
1721
<PresentationCell key={"the-cell"} />
18-
</CodeState>
19-
)}
22+
)
23+
}
2024
</Kernel.Consumer>
2125
</Kernel>
2226
<style jsx>{`

0 commit comments

Comments
 (0)