Skip to content

Commit

Permalink
Change empty state message
Browse files Browse the repository at this point in the history
  • Loading branch information
FdelMazo committed Sep 2, 2024
1 parent 31e3f6c commit 3cf85f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/Repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,14 @@ const sortOptions = [
const NoReposMessage = ({ codigos }) => (
<div>
<p>
Esta materia no tiene repositorios... Agrega el primero con
{codigos.length === 1 ? " el tag" : " cualquiera de los tags"}...
</p>
<Center gap={2}>
Esta materia aún no tiene repositorios. <br /> Agrega el primero con
{codigos.length === 1 ? " el tag" : " cualquiera de los tags"}
{codigos.map((c) => (
<Code key={c} textIndent={0} colorScheme="purple">
<Code key={c} mx={1} textIndent={0} colorScheme="purple">
{c}
</Code>
))}
</Center>
</p>
</div>
);

Expand Down

0 comments on commit 3cf85f3

Please sign in to comment.