Skip to content

Commit

Permalink
chore: fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Dec 10, 2022
1 parent ca5343a commit fab0c23
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/front/src/components/Alert/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FC } from 'react'
import { FC, ReactNode } from 'react'
import styles from './index.module.css'

const Alert: FC = ({ children }) => {
const Alert: FC<{ children: ReactNode }> = ({ children }) => {
return <div className={styles.alert}>{children}</div>
}

Expand Down
4 changes: 2 additions & 2 deletions packages/front/src/components/Lead/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FC } from 'react'
import { FC, ReactNode } from 'react'
import styles from './index.module.css'

const Lead: FC = ({ children }) => {
const Lead: FC<{ children: ReactNode }> = ({ children }) => {
return <p className={styles.lead}>{children}</p>
}

Expand Down
4 changes: 4 additions & 0 deletions packages/front/src/declaration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module "*.css" {
const content: Record<string, string>;
export default content;
}
4 changes: 2 additions & 2 deletions packages/front/src/layouts/GeneralLayout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { FC } from 'react'
import { FC, ReactNode } from 'react'
import Footer from '../../components/Footer'
import Header from '../../components/Header'
import styles from './index.module.css'

const GeneralLayout: FC = ({ children }) => {
const GeneralLayout: FC<{ children: ReactNode }> = ({ children }) => {
return (
<div className={styles.container}>
<div className={styles.content}>
Expand Down

1 comment on commit fab0c23

@vercel
Copy link

@vercel vercel bot commented on fab0c23 Dec 10, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

mach – ./

mach-git-master-jpedroh.vercel.app
mach-jpedroh.vercel.app
mach-five.vercel.app
mach.jpedroh.dev

Please sign in to comment.