mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
GroupsPane: improve loading state
This commit is contained in:
parent
66f781fe51
commit
71251501e0
@ -136,6 +136,10 @@ export function GroupsPane(props: GroupsPaneProps) {
|
||||
const appPath = `${isShip ? '/ship/' : '/'}${host}/${name}`;
|
||||
const association = isShip ? associations.graph[appPath] : associations[appName][appPath];
|
||||
const resourceUrl = `${baseUrl}/join/${app}${appPath}`;
|
||||
|
||||
if (!association) {
|
||||
return <Loading />;
|
||||
}
|
||||
return (
|
||||
<Skeleton
|
||||
recentGroups={recentGroups}
|
||||
|
Loading…
Reference in New Issue
Block a user