Fix versioning component errors

This commit is contained in:
gpt-engineer-app[bot]
2025-10-10 23:08:53 +00:00
parent 0d625f3dc7
commit 1e67ff87fd
2 changed files with 31 additions and 30 deletions

View File

@@ -41,7 +41,7 @@ export function VersionComparisonDialog({
};
loadDiff();
}, [open, fromVersionId, toVersionId]);
}, [open, fromVersionId, toVersionId, compareVersions]);
const formatValue = (value: any): string => {
if (value === null || value === undefined) return 'null';