diff options
Diffstat (limited to 'src/scenes/doctor.tsx')
-rw-r--r-- | src/scenes/doctor.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scenes/doctor.tsx b/src/scenes/doctor.tsx index 4b6c483..ded1617 100644 --- a/src/scenes/doctor.tsx +++ b/src/scenes/doctor.tsx @@ -30,19 +30,20 @@ Yes, hmmm... so, do you really think this is so? export default makeScene2D(function* (view) { const block = createRef<CodeBlock>(); + let currentConversation = conversation[0] + "\n"; - yield view.add( + view.add( <CodeBlock fontFamily={theme.font} language="markdown" ref={block} fontSize={20} + code={currentConversation} ></CodeBlock>, ); yield* slideTransition(Direction.Right); - let currentConversation = conversation[0] + "\n"; let id = 0; for (const line of conversation.slice(1)) { yield* block().edit(1.2, false)`${currentConversation}${insert( |