Skip to content

Commit 40860bc

Browse files
committed
fix info session bug
1 parent 88c2267 commit 40860bc

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

community/events.page.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ const events = [
463463
name: "XRPL Grants Info Session: Financial Inclusion Focused",
464464
description:
465465
"Join us for a live information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Financial Inclusion projects.",
466-
type: "info-session",
466+
type: "info",
467467
link: "https://www.youtube.com/watch?v=TgLaAXTZY7Q",
468468
location: "Virtual - Zoom",
469469
date: "September 05, 2023",
@@ -485,7 +485,7 @@ const events = [
485485
name: "XRPL Grants Info Session: Decentralized Exchange (DEX) Focused",
486486
description:
487487
"Watch the recorded information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Decentralized Exchange (DEX) projects.",
488-
type: "info-session",
488+
type: "info",
489489
link: "https://www.youtube.com/watch?v=BbGu0QC5WEE",
490490
location: "Virtual - Zoom",
491491
date: "September 06, 2023",
@@ -754,7 +754,7 @@ const events = [
754754
name: "XRPL Builder Office Hours",
755755
description:
756756
"XRPL Builder Office Hours is an open forum hosted monthly by Developer Advocates to answer technical and business questions from community members.",
757-
type: "info-session",
757+
type: "info",
758758
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA#/registration",
759759
location: "Virtual - Zoom",
760760
date: "August 23, 2024",
@@ -786,7 +786,7 @@ export default function Events() {
786786
ama: true,
787787
cc: true,
788788
zone: true,
789-
"info-session": true,
789+
"info": true,
790790
});
791791

792792
const [pastFilters, setPastFilters] = useState({
@@ -796,7 +796,7 @@ export default function Events() {
796796
ama: true,
797797
cc: true,
798798
zone: true,
799-
"info-session": true,
799+
"info": true,
800800
});
801801

802802
const filteredUpcoming = useMemo(() => {
@@ -979,21 +979,21 @@ export default function Events() {
979979
</div>
980980
<div className="form-check form-check-inline">
981981
<input
982-
defaultValue="info-session"
983-
id="info-session-upcoming"
984-
name="info-session-upcoming"
982+
defaultValue="info"
983+
id="info-upcoming"
984+
name="info-upcoming"
985985
type="checkbox"
986986
className="events-filter"
987-
checked={upcomingFilters["info-session"]}
987+
checked={upcomingFilters["info"]}
988988
onChange={handleUpcomingFilterChange}
989989
/>
990-
<label htmlFor="info-session-upcoming">
990+
<label htmlFor="info-upcoming">
991991
{translate("Info Session")}
992992
</label>
993993
</div>
994994
</div>
995995
</div>
996-
{/* # Available Types - conference, hackathon, ama, cc, zone, meetup, info-session */}
996+
{/* # Available Types - conference, hackathon, ama, cc, zone, meetup, info */}
997997
<div className="mt-2 row row-cols-1 row-cols-lg-3 card-deck">
998998
{filteredUpcoming.map((event, i) => (
999999
<a
@@ -1115,15 +1115,15 @@ export default function Events() {
11151115
</div>
11161116
<div className="form-check form-check-inline">
11171117
<input
1118-
defaultValue="info-session"
1119-
id="info-session-past"
1120-
name="info-session-past"
1118+
defaultValue="info"
1119+
id="info-past"
1120+
name="info-past"
11211121
type="checkbox"
11221122
className="events-filter"
1123-
checked={pastFilters["info-session"]}
1123+
checked={pastFilters["info"]}
11241124
onChange={handlePastFilterChange}
11251125
/>
1126-
<label htmlFor="info-session-past">
1126+
<label htmlFor="info-past">
11271127
{translate("Info Session")}
11281128
</label>
11291129
</div>

0 commit comments

Comments
 (0)