File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,19 +350,16 @@ export const CodeViewerFileContent = memo(function CodeViewerFileContent(
350350 void performSave ( "manual" ) ;
351351 } , [ performSave ] ) ;
352352
353- const saveButtonState = isSaving || isSavingManually
354- ? "saving"
355- : tab ?. isDirty
356- ? "dirty"
357- : showSavedConfirmation
358- ? "saved"
359- : "clean" ;
353+ const saveButtonState =
354+ isSaving || isSavingManually
355+ ? "saving"
356+ : tab ?. isDirty
357+ ? "dirty"
358+ : showSavedConfirmation
359+ ? "saved"
360+ : "clean" ;
360361 const saveButtonLabel =
361- saveButtonState === "saving"
362- ? "Saving..."
363- : saveButtonState === "dirty"
364- ? "Save"
365- : "Saved" ;
362+ saveButtonState === "saving" ? "Saving..." : saveButtonState === "dirty" ? "Save" : "Saved" ;
366363
367364 if ( query . isLoading ) {
368365 return (
Original file line number Diff line number Diff line change @@ -214,9 +214,7 @@ export const ChatHeader = memo(function ChatHeader({
214214 onClick = { ( ) => openPrLink ( threadPr . url ) }
215215 >
216216 < GitPullRequestIcon className = "size-3.5" />
217- < span className = "max-w-40 truncate" >
218- View PR #{ threadPr . number }
219- </ span >
217+ < span className = "max-w-40 truncate" > View PR #{ threadPr . number } </ span >
220218 < ExternalLinkIcon className = "size-3" />
221219 { primaryPullRequestShortcutLabel ? (
222220 < Kbd className = "ml-0.5 hidden sm:inline-flex" >
You can’t perform that action at this time.
0 commit comments