Skip to content

Commit

Permalink
Merge pull request #29 from gdg-uberlandia/feat/speakers
Browse files Browse the repository at this point in the history
remove speakers mock
  • Loading branch information
taciomedeiros authored Oct 5, 2023
2 parents 92d94fc + 808d04c commit f4b1949
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import BaseLayout from "../layouts/base-layout";
import { Speaker } from "models/speaker";
import { Schedule } from "models/schedule";
import { getSponsors } from 'back-features/sponsors';
import { getSpeaker } from 'back-features/speakers';
import { SponsorLevel } from "models/sponsor-level";

import styles from "styles/Home.module.css";
Expand Down Expand Up @@ -48,7 +49,7 @@ const Home = ({ speakers, sponsors, schedule }: HomePageProps) => {
{/*
<section className={styles.Section}>
<ScheduleSection speakers={speakers} schedule={schedule} />
</section>
</section>
*/}
<ErrorBoundary>

Expand Down Expand Up @@ -80,7 +81,7 @@ export async function getServerSideProps() {
try {
return {
props: {
speakers: [], //await getSpeakers(),
speakers: await getSpeaker(),
sponsors: await getSponsors(),
schedule: [],//await getSchedule(),
},
Expand Down

0 comments on commit f4b1949

Please sign in to comment.