diff --git a/packages/strapi-plugin-content-type-builder/admin/src/components/ModalHeader/index.js b/packages/strapi-plugin-content-type-builder/admin/src/components/ModalHeader/index.js index 26389c8b51..8646d1ea9b 100644 --- a/packages/strapi-plugin-content-type-builder/admin/src/components/ModalHeader/index.js +++ b/packages/strapi-plugin-content-type-builder/admin/src/components/ModalHeader/index.js @@ -12,7 +12,7 @@ import UpperFirst from '../UpperFirst'; import DropdownInfos from './DropdownInfos'; const ModalHeader = ({ headerId, headers }) => { - const shouldDisplayDrodDown = headers.length > 3; + const shouldDisplayDropDown = headers.length > 3; return (
@@ -38,7 +38,7 @@ const ModalHeader = ({ headerId, headers }) => { ); - if (shouldDisplayDrodDown && index === 1) { + if (shouldDisplayDropDown && index === 1) { return ( @@ -52,7 +52,7 @@ const ModalHeader = ({ headerId, headers }) => { ); } - if (shouldDisplayDrodDown && index === 2 && headers.length > 4) { + if (shouldDisplayDropDown && index === 2 && headers.length > 4) { return null; }