Closed gempain closed 4 years ago
When you not signed in, the home page shows "No repos". When you are signed in and you have no repos, the empty list looks different. We should use the <EmptyList/> component here:
<EmptyList/>
https://github.com/metroline/metroline-ui/blob/b43dfe2cadeeb3d9601d31a9c4b3d48c890659e4/src/components/repos/RepoList.tsx#L65
just like we do here:
https://github.com/metroline/metroline-ui/blob/b43dfe2cadeeb3d9601d31a9c4b3d48c890659e4/src/components/repos/RepoList.tsx#L70
Create a const with the empty list and use it in both places.
const
Released in v1.0.2
When you not signed in, the home page shows "No repos". When you are signed in and you have no repos, the empty list looks different. We should use the
<EmptyList/>
component here:https://github.com/metroline/metroline-ui/blob/b43dfe2cadeeb3d9601d31a9c4b3d48c890659e4/src/components/repos/RepoList.tsx#L65
just like we do here:
https://github.com/metroline/metroline-ui/blob/b43dfe2cadeeb3d9601d31a9c4b3d48c890659e4/src/components/repos/RepoList.tsx#L70
Create a
const
with the empty list and use it in both places.