Elffuss BraidHub

kikocis/continue public

fix: improve the UI when diff can't be generated
Changeset87544dc1817f2bf3f455f8944dfeff169f2587aa446b5d995187d9521255eca4
AuthorNate <sestinj@gmail.com> · 2025-09-10 21:36 -07:00
CommitterNate <sestinj@gmail.com> · 2025-09-10 21:36 -07:00
Parentsd690ac0b3d66

Browse the files at this changeset

1 file changed

modified gui/src/pages/gui/ToolCallDiv/FindAndReplace.tsx +4 −4
@@ -258,10 +258,10 @@
258258 );
259259
260260 if (diffResult?.error) {
261- return renderContainer(
262- <div className="text-error p-3 text-sm">
263- <strong>Error generating diff</strong>
264- </div>,
261+ return (
262+ <div className="text-description mt-2 px-3">
263+ The searched string was not found in the file
264+ </div>
265265 );
266266 }
267267