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 4a7f4e9 commit 5cf7a44Copy full SHA for 5cf7a44
packages/browser-repl/src/components/shell.tsx
@@ -220,8 +220,8 @@ export const Shell = ({
220
[onEditorChanged]
221
);
222
223
- const listener = useMemo(() => {
224
- const evaluationListener: RuntimeEvaluationListener = {
+ const listener = useMemo<RuntimeEvaluationListener>(() => {
+ return {
225
onPrint: (result: RuntimeEvaluationResult[]): void => {
226
const newOutput = [
227
...(output ?? []),
0 commit comments