Skip to content

Commit 0247d05

Browse files
Fix invalid export in Upcoming Event page and replace img tags
1 parent 31bf864 commit 0247d05

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

app/UpcomingEvent/Event/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import React from "react";
33
import { BackgroundGradient } from "@/components/ui/background-gradient";
44

5-
export function Event() {
5+
const Event = () => {
66
return (
77
<section className="w-full px-4 md:px-8 lg:px-16 xl:px-20 py-8 text-center">
88
<h2 className="text-3xl md:text-4xl font-bold mb-6 text-foreground dark:text-white">
@@ -30,4 +30,6 @@ export function Event() {
3030
</div>
3131
</section>
3232
);
33-
}
33+
};
34+
35+
export default Event;

app/UpcomingEvent/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
import { Event } from "./Event/page";
1+
import Event from "./Event/page";
22

3-
export default function UpcomingEvent() {
3+
const UpcomingEvent = () => {
44
return (
55
<div>
66
<Event/>
77
</div>
88
);
99
}
10+
11+
export default UpcomingEvent;

0 commit comments

Comments
 (0)