chore: pr amends

This commit is contained in:
Josh 2022-12-05 15:31:21 +00:00
parent 9b344ab1d6
commit 968aec8a11
3 changed files with 4 additions and 6 deletions

View File

@ -28,8 +28,8 @@ const DropdownIconWrapper = styled(Box)`
`;
const Icon = styled(FontAwesomeIcon)`
width: 14px;
height: 14px;
width: ${pxToRem(12)};
height: ${pxToRem(12)};
color: ${({ theme }) => theme.colors.neutral600};
`;

View File

@ -192,7 +192,7 @@ const DynamicZone = ({
})}
</VisuallyHidden>
<VisuallyHidden aria-live="assertive">{liveText}</VisuallyHidden>
<ul aria-describedby={ariaDescriptionId}>
<ol aria-describedby={ariaDescriptionId}>
{dynamicDisplayedComponents.map(({ componentUid, id }, index) => (
<DynamicZoneComponent
componentUid={componentUid}
@ -208,7 +208,7 @@ const DynamicZone = ({
onGrabItem={handleGrabItem}
/>
))}
</ul>
</ol>
</Box>
)}

View File

@ -15,8 +15,6 @@ function useSelect(name) {
updateActionAllowedFields,
} = useCMEditViewDataManager();
console.log(modifiedData);
const dynamicDisplayedComponents = useMemo(
() =>
get(modifiedData, [name], []).map((data) => ({