Skip to content

Commit

Permalink
Update props on layout (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonmestevao authored Aug 28, 2022
1 parent 83af3a9 commit 3101fd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { PropsWithChildren } from 'react';
import Head from 'next/head';
import Footer from '../Footer';
import Footer from '~/components/Footer';

import styles from './style.module.css';

interface LayoutProps {
children: React.ReactNode;
interface Props {
title: string;
}

const Layout: React.FC<LayoutProps> = ({ children, title }) => (
const Layout = ({ children, title }: PropsWithChildren<Props>) => (
<div className={styles.container}>
<Head>
<title>{title}</title>
Expand Down

1 comment on commit 3101fd2

@vercel
Copy link

@vercel vercel bot commented on 3101fd2 Aug 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.