@@ -37,7 +37,7 @@ RenderSection.propTypes = {
3737 slug : PropTypes . string . isRequired ,
3838 } ) ,
3939 icon : PropTypes . shape ( {
40- url : PropTypes . string . isRequired ,
40+ url : PropTypes . string ,
4141 alternativeText : PropTypes . string ,
4242 localFile : PropTypes . shape ( {
4343 childImageSharp : PropTypes . shape ( {
@@ -83,40 +83,10 @@ const Dropdown = memo(({ sections, topLevel }) => {
8383} )
8484
8585Dropdown . propTypes = {
86- topLevel : PropTypes . shape ( {
87- label : PropTypes . string . isRequired ,
88- text : PropTypes . string ,
89- url : PropTypes . string ,
90- landing_page : PropTypes . shape ( {
91- slug : PropTypes . string . isRequired ,
92- } ) ,
93- icon : PropTypes . shape ( {
94- url : PropTypes . string . isRequired ,
95- alternativeText : PropTypes . string ,
96- localFile : PropTypes . shape ( {
97- childImageSharp : PropTypes . shape ( {
98- gatsbyImageData : PropTypes . object . isRequired ,
99- } ) ,
100- } ) ,
101- } ) ,
102- } ) ,
86+ topLevel : PropTypes . object ,
10387 sections : PropTypes . arrayOf (
10488 PropTypes . shape ( {
105- label : PropTypes . string . isRequired ,
106- text : PropTypes . string ,
107- url : PropTypes . string ,
108- landing_page : PropTypes . shape ( {
109- slug : PropTypes . string . isRequired ,
110- } ) ,
111- icon : PropTypes . shape ( {
112- url : PropTypes . string . isRequired ,
113- alternativeText : PropTypes . string ,
114- localFile : PropTypes . shape ( {
115- childImageSharp : PropTypes . shape ( {
116- gatsbyImageData : PropTypes . object . isRequired ,
117- } ) ,
118- } ) ,
119- } ) ,
89+ id : PropTypes . number . isRequired ,
12090 } )
12191 ) ,
12292}
0 commit comments