Skip to content

Commit

Permalink
SMA-32: added in progress and upcoming match in home for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
markpernia committed Feb 2, 2024
1 parent 558f01a commit b45d4b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/sportsmatch-app/src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import MatchInProgress from '../components/MatchInProgress'
import SportEvent from '../components/SportEvent'
import MatchUpComing from '../components/MatchUpComing'

function Home() {
const sampleEvent = {
id: 1,
maxElo: 2000,
minElo: 1200,
dateEnd: '2024-05-01',
dateEnd: '2024-05-02',
dateStart: '2024-05-01',
location: 'Prague, Stadium A',
title: 'Badminton match',
Expand All @@ -16,6 +18,8 @@ function Home() {

return (
<>
<MatchInProgress event={sampleEvent}/>

Check failure on line 21 in frontend/sportsmatch-app/src/pages/Home.tsx

View workflow job for this annotation

GitHub Actions / test

Insert `·`
<MatchUpComing event={sampleEvent} />
<SportEvent event={sampleEvent} />
</>
)
Expand Down

0 comments on commit b45d4b5

Please sign in to comment.