Skip to content

Commit 6e06dce

Browse files
authored
Merge pull request #649 from shapehq/bugfix/loading-screen-shown-below-specification
Fixes loading screen shown below documentation
2 parents f99db18 + c23a828 commit 6e06dce

File tree

1 file changed

+2
-2
lines changed
  • src/app/(authed)/(project-doc)/[...slug]

1 file changed

+2
-2
lines changed

src/app/(authed)/(project-doc)/[...slug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export default function Page() {
3636
{project && (!version || !specification) && !refreshing &&
3737
<ErrorMessage text={`The selected ${!version ? "branch or tag" : "specification"} was not found.`}/>
3838
}
39-
{refreshing && // project data is currently being fetched - show loading indicator
40-
<LoadingIndicator />
39+
{!project && !version && !specification && refreshing &&
40+
<LoadingIndicator />
4141
}
4242
{!project && !refreshing && <NotFound/>}
4343
</>

0 commit comments

Comments
 (0)