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)
Pasados los componentes
SectionTitle
ySectionEvents
por el componenteAvisos
y arreglado también el error en los dos primeros, donde sobraba elthis
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 inSectionEvents
, but its value isundefined
. 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)