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:
Simon Knott 2025-02-27 10:15:03 +01:00 committed by GitHub
parent f4a255a52f
commit b30b2f7229
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<{