mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-10 02:39:56 +00:00
fix(app): more defensive, handle no git
This commit is contained in:
@@ -123,11 +123,11 @@ export const SessionReview = (props: SessionReviewProps) => {
|
||||
diffStyle={diffStyle()}
|
||||
before={{
|
||||
name: diff.file!,
|
||||
contents: diff.before!,
|
||||
contents: typeof diff.before === "string" ? diff.before : "",
|
||||
}}
|
||||
after={{
|
||||
name: diff.file!,
|
||||
contents: diff.after!,
|
||||
contents: typeof diff.after === "string" ? diff.after : "",
|
||||
}}
|
||||
/>
|
||||
</Accordion.Content>
|
||||
|
||||
Reference in New Issue
Block a user