mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 15:19:00 +00:00
chore: pr amends
This commit is contained in:
parent
9b344ab1d6
commit
968aec8a11
@ -28,8 +28,8 @@ const DropdownIconWrapper = styled(Box)`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Icon = styled(FontAwesomeIcon)`
|
const Icon = styled(FontAwesomeIcon)`
|
||||||
width: 14px;
|
width: ${pxToRem(12)};
|
||||||
height: 14px;
|
height: ${pxToRem(12)};
|
||||||
|
|
||||||
color: ${({ theme }) => theme.colors.neutral600};
|
color: ${({ theme }) => theme.colors.neutral600};
|
||||||
`;
|
`;
|
||||||
|
|||||||
@ -192,7 +192,7 @@ const DynamicZone = ({
|
|||||||
})}
|
})}
|
||||||
</VisuallyHidden>
|
</VisuallyHidden>
|
||||||
<VisuallyHidden aria-live="assertive">{liveText}</VisuallyHidden>
|
<VisuallyHidden aria-live="assertive">{liveText}</VisuallyHidden>
|
||||||
<ul aria-describedby={ariaDescriptionId}>
|
<ol aria-describedby={ariaDescriptionId}>
|
||||||
{dynamicDisplayedComponents.map(({ componentUid, id }, index) => (
|
{dynamicDisplayedComponents.map(({ componentUid, id }, index) => (
|
||||||
<DynamicZoneComponent
|
<DynamicZoneComponent
|
||||||
componentUid={componentUid}
|
componentUid={componentUid}
|
||||||
@ -208,7 +208,7 @@ const DynamicZone = ({
|
|||||||
onGrabItem={handleGrabItem}
|
onGrabItem={handleGrabItem}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ol>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@ -15,8 +15,6 @@ function useSelect(name) {
|
|||||||
updateActionAllowedFields,
|
updateActionAllowedFields,
|
||||||
} = useCMEditViewDataManager();
|
} = useCMEditViewDataManager();
|
||||||
|
|
||||||
console.log(modifiedData);
|
|
||||||
|
|
||||||
const dynamicDisplayedComponents = useMemo(
|
const dynamicDisplayedComponents = useMemo(
|
||||||
() =>
|
() =>
|
||||||
get(modifiedData, [name], []).map((data) => ({
|
get(modifiedData, [name], []).map((data) => ({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user