Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f5d146

Browse files
committed
use FullScreenLoader if template is null
1 parent 6e98f98 commit 8f5d146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/WorkspacePage/WorkspacePage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const WorkspacePage: React.FC = () => {
7373
} else if (!workspace) {
7474
return <FullScreenLoader />
7575
} else if (!template) {
76-
return <div className={styles.error}>Loading template</div>
76+
return <FullScreenLoader />
7777
} else {
7878
const deadline = dayjs(workspace.latest_build.deadline).utc()
7979
const favicon = getFaviconByStatus(workspace.latest_build)

0 commit comments

Comments
 (0)