diff --git a/src/ui/DiffView.tsx b/src/ui/DiffView.tsx
index 5d406f7..499a976 100644
--- a/src/ui/DiffView.tsx
+++ b/src/ui/DiffView.tsx
@@ -33,10 +33,10 @@ export function DiffView(props: { readonly diff: DiffState; readonly scrollRef:
{diff.source ? "[/] file · x whole file / collapse · esc close" : "[/] file · esc close"}
- {diff.status === "loading" ? Loading diff… : null}
- {diff.status === "error" ? {`Could not load the diff: ${diff.error ?? "unknown error"}`} : null}
- {diff.status === "ready" && files.length === 0 ? No changes. : null}
- {diff.truncated ? The diff was too large and is cut short. : null}
+ {diff.status === "loading" ? Loading diff… : null}
+ {diff.status === "error" ? {`Could not load the diff: ${diff.error ?? "unknown error"}`} : null}
+ {diff.status === "ready" && files.length === 0 ? No changes. : null}
+ {diff.truncated ? The diff was too large and is cut short. : null}
{files.map((file, index) => (
diff --git a/src/ui/PullRequestView.tsx b/src/ui/PullRequestView.tsx
index 674e695..c80e822 100644
--- a/src/ui/PullRequestView.tsx
+++ b/src/ui/PullRequestView.tsx
@@ -39,8 +39,8 @@ export function PullRequestView(props: { readonly view: PullRequestViewState; re
- {view.status === "loading" ? Loading pull request… : null}
- {view.status === "error" ? {`Could not load the pull request: ${view.error ?? "unknown error"}`} : null}
+ {view.status === "loading" ? Loading pull request… : null}
+ {view.status === "error" ? {`Could not load the pull request: ${view.error ?? "unknown error"}`} : null}
{view.lines.map((line, index) =>
line.kind === "title" && index > 0 ? (