mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
fix linting errors
This commit is contained in:
parent
6b05d3cbba
commit
e8fc84affd
@ -5,7 +5,7 @@ import CollapsableContentType from '../CollapsableContentType';
|
||||
|
||||
const ContentTypesSection = ({ section, name, ...props }) => {
|
||||
const [indexExpandedCollpsedContent, setIndexExpandedCollpsedContent] = useState(null);
|
||||
const handleExpandedCollpsedContentIndex = index => setIndexExpandedCollpsedContent(index);
|
||||
const handleExpandedCollpsedContentIndex = (index) => setIndexExpandedCollpsedContent(index);
|
||||
|
||||
return (
|
||||
<Box padding={4} background="neutral0">
|
||||
|
@ -22,7 +22,7 @@ const Permissions = ({ ...props }) => {
|
||||
})}
|
||||
>
|
||||
<Tabs>
|
||||
{TAB_LABELS.map(tabLabel => (
|
||||
{TAB_LABELS.map((tabLabel) => (
|
||||
<Tab key={tabLabel.id}>
|
||||
{formatMessage({ id: tabLabel.labelId, defaultMessage: tabLabel.defaultMessage })}
|
||||
</Tab>
|
||||
|
Loading…
x
Reference in New Issue
Block a user