mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #15358 from overleaf/ii-ide-page-prototype-history-view
History diff view and changes list for React IDE page GitOrigin-RevId: 1a4fb7abbb00537f45a3dc779120327cf9edc781
This commit is contained in:
parent
31299ed31e
commit
c8a6b48c0b
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
import { createPortal } from 'react-dom'
|
||||
import HistoryFileTree from '@/features/history/components/history-file-tree'
|
||||
import LoadingSpinner from '@/shared/components/loading-spinner'
|
||||
import DiffView from '@/features/history/components/diff-view/diff-view'
|
||||
import ChangeList from '@/features/history/components/change-list/change-list'
|
||||
import { useHistoryContext } from '@/features/history/context/history-context'
|
||||
|
||||
export default function History() {
|
||||
|
@ -15,7 +17,10 @@ export default function History() {
|
|||
{updatesInfo.loadingState === 'loadingInitial' ? (
|
||||
<LoadingSpinner />
|
||||
) : (
|
||||
'History document diff viewer and versions list placeholder'
|
||||
<>
|
||||
<DiffView />
|
||||
<ChangeList />
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue