Fix styles for when a collection has no teams
This commit is contained in:
parent
a064cfa67c
commit
e22183fa63
3 changed files with 6 additions and 6 deletions
|
|
@ -291,7 +291,7 @@ const ProfileRoute: React.FC<Props> = ({
|
||||||
next={() => setCurrentPage(currentPage + 1)}
|
next={() => setCurrentPage(currentPage + 1)}
|
||||||
hasMore={totalPages > currentPage}
|
hasMore={totalPages > currentPage}
|
||||||
loader={
|
loader={
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('loading')}</h2>
|
<h2>{t('loading')}</h2>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
@ -300,7 +300,7 @@ const ProfileRoute: React.FC<Props> = ({
|
||||||
</InfiniteScroll>
|
</InfiniteScroll>
|
||||||
|
|
||||||
{parties.length == 0 ? (
|
{parties.length == 0 ? (
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('teams.not_found')}</h2>
|
<h2>{t('teams.not_found')}</h2>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|
|
||||||
|
|
@ -331,7 +331,7 @@ const SavedRoute: React.FC<Props> = ({
|
||||||
next={() => setCurrentPage(currentPage + 1)}
|
next={() => setCurrentPage(currentPage + 1)}
|
||||||
hasMore={totalPages > currentPage}
|
hasMore={totalPages > currentPage}
|
||||||
loader={
|
loader={
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('loading')}</h2>
|
<h2>{t('loading')}</h2>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
@ -340,7 +340,7 @@ const SavedRoute: React.FC<Props> = ({
|
||||||
</InfiniteScroll>
|
</InfiniteScroll>
|
||||||
|
|
||||||
{parties.length == 0 ? (
|
{parties.length == 0 ? (
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('saved.not_found')}</h2>
|
<h2>{t('saved.not_found')}</h2>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|
|
||||||
|
|
@ -340,7 +340,7 @@ const TeamsRoute: React.FC<Props> = ({
|
||||||
next={() => setCurrentPage(currentPage + 1)}
|
next={() => setCurrentPage(currentPage + 1)}
|
||||||
hasMore={totalPages > currentPage}
|
hasMore={totalPages > currentPage}
|
||||||
loader={
|
loader={
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('loading')}</h2>
|
<h2>{t('loading')}</h2>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
@ -349,7 +349,7 @@ const TeamsRoute: React.FC<Props> = ({
|
||||||
</InfiniteScroll>
|
</InfiniteScroll>
|
||||||
|
|
||||||
{parties.length == 0 ? (
|
{parties.length == 0 ? (
|
||||||
<div id="NotFound">
|
<div className="notFound">
|
||||||
<h2>{t('teams.not_found')}</h2>
|
<h2>{t('teams.not_found')}</h2>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue