mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
Sort them
This commit is contained in:
parent
7974508287
commit
e52d14a8af
|
@ -452,7 +452,7 @@ export class SideBySideDiff extends React.Component<
|
|||
return
|
||||
}
|
||||
|
||||
const expansionHunkKeys = Array.from(this.hunkExpansionRefs.keys())
|
||||
const expansionHunkKeys = Array.from(this.hunkExpansionRefs.keys()).sort()
|
||||
const { hunkIndex, expansionType } = this.state.lastExpandedHunk
|
||||
const lastExpandedKey = `${hunkIndex}-${expansionType}`
|
||||
|
||||
|
|
Loading…
Reference in a new issue