Skip to content

Commit c23a828

Browse files
committed
Checks for version and specification
1 parent af9cdcf commit c23a828

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export default function Page() {
3636
{project && (!version || !specification) && !refreshing &&
3737
<ErrorMessage text={`The selected ${!version ? "branch or tag" : "specification"} was not found.`}/>
3838
}
39-
{!project && refreshing && <LoadingIndicator /> }
39+
{!project && !version && !specification && refreshing &&
40+
<LoadingIndicator />
41+
}
4042
{!project && !refreshing && <NotFound/>}
4143
</>
4244
)

0 commit comments

Comments
 (0)