update edit aply file content

This commit is contained in:
duanfuxiang
2025-04-01 11:41:29 +08:00
parent c415175de8
commit 4fb0bb22ac
5 changed files with 54 additions and 50 deletions

View File

@@ -28,7 +28,7 @@ export default function ApplyViewRoot({
const app = useApp()
const [diff, setDiff] = useState<Change[]>(
diffLines(state.originalContent, state.newContent),
diffLines(state.oldContent, state.newContent),
)
const handleAccept = async () => {