This commit is contained in:
Saxon Fletcher committed 2025-06-17 14:06:39 +10:00
1 parent cb845534b2
commit 2a61979df2
1 file changed
+2 -2
@@ -55,8 +55,6 @@ const FunctionDiff = ({
}
}, [diffFileKeys, activeFileKey])
if (diffFileKeys.length === 0) return null
const currentFile = currentBody.find((f) => fileKey(f.name) === activeFileKey)
const mainFile = mainBody.find((f) => fileKey(f.name) === activeFileKey)
@@ -69,6 +67,8 @@ const FunctionDiff = ({
return 'plaintext'
}, [activeFileKey])
if (diffFileKeys.length === 0) return null
return (
<Card>
<CardHeader className="space-y-0 px-4">