Skip to content

Commit

Permalink
Format schedule
Browse files Browse the repository at this point in the history
Signed-off-by: Kowalski Dragon (kowalski7cc) <[email protected]>
  • Loading branch information
kowalski7cc committed Oct 22, 2023
1 parent 4846f0c commit b47bc27
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/pages/schedule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ const Talks = ({
icon={
starredTalksForYear?.includes(title)
? icon({
name: "star",
family: "classic",
style: "solid",
})
name: "star",
family: "classic",
style: "solid",
})
: icon({
name: "star",
family: "classic",
style: "regular",
})
name: "star",
family: "classic",
style: "regular",
})
}
onClick={(e) => handleStarClick(title, e)}
/>
Expand Down Expand Up @@ -180,10 +180,12 @@ const Talks = ({
</Col>
<Col className='align-bottom text-center'>{t.room}</Col>
<Col className='d-flex gap-1 justify-content-end'>
<Button variant='warning'
onClick={(e) => handleStarClick(t.title, e)}>
<StarToggle title={t.title} />
</Button>
<Button
variant='warning'
onClick={(e) => handleStarClick(t.title, e)}
>
<StarToggle title={t.title} />
</Button>
</Col>
</Row>
</div>
Expand Down Expand Up @@ -273,7 +275,7 @@ const Page = ({ data }) => {
onClick={() => {
navigate(
typeof window !== "undefined" &&
window.location.pathname + "?year=" + s.year
window.location.pathname + "?year=" + s.year
);
setSchedData(allSchedules[i]);
}}
Expand Down

0 comments on commit b47bc27

Please sign in to comment.