Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

feat: improve no matches text #433

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/components/matches/matchesList/MatchesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,16 @@ export const MatchesList: React.FC = () => {
);

if (matches.length === 0) {
return <Alert severity="info">Du har ingen overleveringer :)</Alert>;
return (
<Alert severity="info">
Du har ingen overleveringer :)
<p>
Har du fått melding om overleveringer? Sjekk om du er logget inn med
riktig konto.
</p>
<p>Ta kontakt med [email protected] om du har spørsmål.</p>
</Alert>
);
}

const numberFulfilledMatches = matches.filter((element) =>
Expand Down