Merge pull request #16138 from overleaf/ii-ide-page-prototype-review-panel-overview-loading
[web] React ide page overview switch GitOrigin-RevId: 9a24a8ba9ed8e86d486a12a65259d25c1352c864
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ import { useFileTreeData } from '@/shared/context/file-tree-data-context'
|
||||
import { MainDocument } from '../../../../../../types/project-settings'
|
||||
|
||||
function OverviewContainer() {
|
||||
const { loading } = useReviewPanelValueContext()
|
||||
const { isOverviewLoading } = useReviewPanelValueContext()
|
||||
const docs: MainDocument[] = useFileTreeData().docs
|
||||
|
||||
return (
|
||||
@@ -23,7 +23,7 @@ function OverviewContainer() {
|
||||
tabIndex={0}
|
||||
aria-labelledby="review-panel-tab-overview"
|
||||
>
|
||||
{loading ? (
|
||||
{isOverviewLoading ? (
|
||||
<div className="rp-loading">
|
||||
<Icon type="spinner" spin />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user