Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
chore: disable revalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
TuukkaIkius committed Feb 8, 2024
1 parent aaa4536 commit bf931db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/EventBanner/EventBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ export const EventBanner: React.FC<{
initialEvent: EventProps;
}> = ({ initialEvent }) => {
const [event, setEvent] = useState<EventProps>(initialEvent);
useEffect(() => {
/*useEffect(() => {
const fetchEvent = async () => {
const tempEvent = await fetch("/api/getfeaturedevent/").then(
(res) => res.status === 200 && res.json()
);
tempEvent && setEvent(tempEvent.data as EventProps);
};
fetchEvent();
}, []);
}, []);*/
const { sideButtons } = event;
return (
<div className={styles.banner}>
Expand Down

0 comments on commit bf931db

Please sign in to comment.