ObradoiroTeo / obra-react-firebase

Obra en React e Firebase
1 stars 10 forks source link

Pasado `SectionTitle` y `SectionEvents`por el componente `Avisos`. #15

Closed SaraMiri closed 5 years ago

SaraMiri commented 5 years ago

Pasados los componentesSectionTitle y SectionEventspor el componente Avisos y arreglado también el error en los dos primeros, donde sobraba el this al haber usado un functional component.

No obstante, la consola muestra el error siguiente en Avisos:

Warning: Failed prop type: The prop title is marked as required in SectionEvents, but its value is undefined. in SectionEvents (at Avisos.js:10) in Avisos (at App.js:165) in div (created by FocusHandlerImpl) in FocusHandlerImpl (created by Context.Consumer) in FocusHandler (created by RouterImpl) in RouterImpl (created by LocationProvider) in LocationProvider (created by Context.Consumer) in Location (created by Context.Consumer) in Router (at App.js:161) in App (at src/index.js:7)

davidgchaves commented 5 years ago

🚀🤖👾👍