- Your Workspaces ({workspacesWithRoles.length})
+ Your Workspaces ({isLoading ? "..." : workspacesWithRoles.length})
- {workspacesWithRoles.length === 0 ? (
+ {loadError !== null ? (
+
+ {loadError}
+
+ ) : isLoading ? (
+
+ Loading workspaces...
+
+ ) : workspacesWithRoles.length === 0 ? (