Update packages/trace-viewer/src/ui/errorsTab.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Simon Knott <info@simonknott.de>
This commit is contained in:
parent
f4a255a52f
commit
b30b2f7229
|
|
@ -79,7 +79,7 @@ function useCodeFrame(stack: StackFrame[] | undefined, sources: Map<string, mode
|
|||
return highlightLine;
|
||||
}).join('\n');
|
||||
return codeFrame;
|
||||
}, [source, selectedFrame]);
|
||||
}, [source, selectedFrame, width]);
|
||||
}
|
||||
|
||||
const CopyPromptButton: React.FC<{
|
||||
|
|
|
|||
Loading…
Reference in a new issue