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)` const Icon = styled(FontAwesomeIcon)`
width: 14px; width: ${pxToRem(12)};
height: 14px; height: ${pxToRem(12)};
color: ${({ theme }) => theme.colors.neutral600}; color: ${({ theme }) => theme.colors.neutral600};
`; `;

View File

@ -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>
)} )}

View File

@ -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) => ({