{!canApplyStoredTarget && state.diffThreadId && (
Showing diffs for the active thread.
)}
{checkpointDiffError && !renderablePatch && (
)}
{!renderablePatch ? (
{isLoadingCheckpointDiff
? "Loading checkpoint diff..."
: "No patch available for this selection."}
) : renderablePatch.kind === "files" ? (
{renderableFiles.map((fileDiff) => {
const filePath = resolveFileDiffPath(fileDiff);
const fileKey = buildFileDiffRenderKey(fileDiff);
return (
);
})}
) : (
{renderablePatch.reason}
{renderablePatch.text}
)}
>
)}