diff --git a/app/events/page.tsx b/app/events/page.tsx
index 1aa11f6..75825ca 100644
--- a/app/events/page.tsx
+++ b/app/events/page.tsx
@@ -149,7 +149,7 @@ const EventsPage: React.FC = () => {
return () => {
document.removeEventListener('mousedown', handleClickOutside);
};
- }, []);
+ }, [searchParams]);
return (
diff --git a/app/page.tsx b/app/page.tsx
index c1413cd..c66eab0 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -65,8 +65,6 @@ export default function Home() {
name="FAB XO Halloween"
description="Halloween is upon us and is one of the biggest nights of the FAB XO calendar. Fancy dress is encouraged! So have your fancy dress ready and we look forward to seeing who have the best fancy dress on the night! As a special treat we will be serving our very own witches brew!!!"
location="Birmingham, UK"
- capacity={100}
- ticketsSold={50}
eventStartDate={1729980000}
eventHost="0x225C73C8c536C4F5335a2C1abECa95b0f221eeF6"
imageURL={"https://www.guildofstudents.com/asset/Event/7572/Halloween-Fab-XO-Web-Event.jpg"}
@@ -75,8 +73,6 @@ export default function Home() {
name="Halls Halloween Spooktacular"
description="Put on your spookiest costume and head on down to Pritchatts Park and join your Event Activators for our ResLife SPOOKTACULAR on Wednesday 30th October 5-8pm."
location="Birmingham, UK"
- capacity={100}
- ticketsSold={50}
eventStartDate={1730307600}
eventHost="0x225C73C8c536C4F5335a2C1abECa95b0f221eeF6"
imageURL={"https://www.guildofstudents.com/asset/Event/41187/Spooktacular-Web-Event-2024.png"}
@@ -85,8 +81,6 @@ export default function Home() {
name="Housing Fair"
description="We’re hosting a Housing Fair, so make sure you save the date! Whether you’re living in student accommodation or the local community, this will be a great place to start as you begin thinking about where you’ll be living next year."
location="Birmingham, UK"
- capacity={100}
- ticketsSold={50}
eventStartDate={1730804400}
eventHost="0x225C73C8c536C4F5335a2C1abECa95b0f221eeF6"
imageURL={"https://www.guildofstudents.com/asset/Event/41111/Housing-Fair-Web-Event.png"}
diff --git a/components/custom/FeaturedEvent.tsx b/components/custom/FeaturedEvent.tsx
index a1e1c51..50ab18d 100644
--- a/components/custom/FeaturedEvent.tsx
+++ b/components/custom/FeaturedEvent.tsx
@@ -13,19 +13,17 @@ interface props {
name: string;
description: string;
location: string;
- capacity: number;
- ticketsSold: number;
eventStartDate: number;
eventHost: string;
imageURL: string | null;
}
const FeaturedEvent = ({
- name, description, location, capacity, ticketsSold, eventStartDate, eventHost, imageURL
+ name, description, location, eventStartDate, eventHost, imageURL
}: props) => {
return
- {imageURL &&
}
+ {imageURL &&
}
{name}