Skip to content

Commit c89a7d6

Browse files
committed
fix
1 parent c31bbd8 commit c89a7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tools/TextDiffView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const TextDiffView: React.FC<TextDiffViewProps> = ({
7979
const diffHtml = html(diffFiles, config);
8080
setDiffData(diffHtml);
8181
}
82-
}, [fileDiffList]);
82+
}, [id, useUI, fileDiffList, outputFormat, fileListToggle]);
8383

8484
return useUI ? (
8585
<div id={id || 'code-diff-ui'} />

0 commit comments

Comments
 (0)