diff --git a/site/src/components/Repl/Input/ModuleEditor.svelte b/site/src/components/Repl/Input/ModuleEditor.svelte index a3e66c0f7a..e7a9dc9059 100644 --- a/site/src/components/Repl/Input/ModuleEditor.svelte +++ b/site/src/components/Repl/Input/ModuleEditor.svelte @@ -1,6 +1,7 @@ + + + +
\ No newline at end of file diff --git a/site/src/components/Repl/Output/Viewer.svelte b/site/src/components/Repl/Output/Viewer.svelte index 010600e5b0..b9b0e60070 100644 --- a/site/src/components/Repl/Output/Viewer.svelte +++ b/site/src/components/Repl/Output/Viewer.svelte @@ -2,6 +2,7 @@ import { onMount, createEventDispatcher, getContext } from 'svelte'; import getLocationFromStack from './getLocationFromStack.js'; import ReplProxy from './replProxy.js'; + import Message from '../Message.svelte'; import { decode } from 'sourcemap-codec'; const dispatch = createEventDispatcher(); @@ -100,7 +101,7 @@ const loc = getLocationFromStack(e.stack, $bundle.ssr.map); if (loc) { e.filename = loc.source; - e.loc = { line: loc.line, column: loc.column }; + e.start = { line: loc.line, column: loc.column }; } error = e; @@ -197,8 +198,10 @@