Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error: Property 'children' does not exist on type '{}'. #414

Closed
mateusfg7 opened this issue Dec 10, 2022 · 0 comments
Closed

Type error: Property 'children' does not exist on type '{}'. #414

mateusfg7 opened this issue Dec 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mateusfg7
Copy link
Owner

./src/components/Container.tsx:3:39
Type error: Property 'children' does not exist on type '{}'.

  1 | import React from 'react'
  2 | 
> 3 | export const Container: React.FC = ({ children }) => {
    |                                       ^
  4 |   return <div className="max-w-4xl p-5 m-auto">{children}</div>
  5 | }
  6 |

Error on PR #297

@mateusfg7 mateusfg7 added the bug Something isn't working label Dec 10, 2022
mateusfg7 added a commit that referenced this issue Dec 10, 2022
Type error: Property "children" does not exist on type "{}"

fix #414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant