From b47bc27374481c50313a31cc03dd57db59f9dc06 Mon Sep 17 00:00:00 2001 From: "Kowalski Dragon (kowalski7cc)" Date: Sun, 22 Oct 2023 22:17:39 +0200 Subject: [PATCH] Format schedule Signed-off-by: Kowalski Dragon (kowalski7cc) --- src/pages/schedule.jsx | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/pages/schedule.jsx b/src/pages/schedule.jsx index b1be280..1a672eb 100644 --- a/src/pages/schedule.jsx +++ b/src/pages/schedule.jsx @@ -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)} /> @@ -180,10 +180,12 @@ const Talks = ({ {t.room} - + @@ -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]); }}