Skip to content

Commit

Permalink
Merge pull request #26 from unb-mds/bug/jose-index.tsx
Browse files Browse the repository at this point in the history
🐛 props municipio não lido
  • Loading branch information
joseandre25 authored Nov 30, 2023
2 parents 0b0e6a5 + f98c1a5 commit d4cff37
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import { Footer, Navbar } from '@/components/Layout';
import { Home } from '@/components/Pages';

const HomePage = () => (
<div className="flex flex-col h-screen">
<Navbar />
<Home municipio='geral' ano="geral" />
<Footer />
</div>
);
const HomePage = () => {
const props = { municipio: 'geral', ano: 'geral' };

return (
<div className="flex flex-col h-screen">
<Navbar />
<Home {...props} />
<Footer />
</div>
);
};

export default HomePage;

0 comments on commit d4cff37

Please sign in to comment.