mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 08:16:35 +00:00
Fix naming
This commit is contained in:
parent
860c2e0789
commit
d9a81c7011
@ -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 (
|
||||
<section>
|
||||
@ -38,7 +38,7 @@ const ModalHeader = ({ headerId, headers }) => {
|
||||
<Icon type={iconType} />
|
||||
);
|
||||
|
||||
if (shouldDisplayDrodDown && index === 1) {
|
||||
if (shouldDisplayDropDown && index === 1) {
|
||||
return (
|
||||
<Fragment key={index}>
|
||||
<IconWrapper>
|
||||
@ -52,7 +52,7 @@ const ModalHeader = ({ headerId, headers }) => {
|
||||
);
|
||||
}
|
||||
|
||||
if (shouldDisplayDrodDown && index === 2 && headers.length > 4) {
|
||||
if (shouldDisplayDropDown && index === 2 && headers.length > 4) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user