Closed imnasnainaec closed 1 week ago
Attention: Patch coverage is 73.33333%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 75.13%. Comparing base (
30509ca
) to head (18da217
).
Files | Patch % | Lines |
---|---|---|
src/components/ProjectExport/DownloadButton.tsx | 0.00% | 3 Missing :warning: |
...mponents/AnnouncementBanner/AnnouncementBanner.tsx | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
src/components/AnnouncementBanner/AnnouncementBanner.tsx
line 56 at r2 (raw file):
<Cancel /> </IconButton> <Box sx={{ width: theme.spacing(2) }} />
This might be able to use the same method.
Code quote:
theme.spacing(2)
_
src/components/AnnouncementBanner/AnnouncementBanner.tsx
line 56 at r2 (raw file):_<Cancel /> </IconButton> <Box sx={{ width: theme.spacing(2) }} />
This might be able to use the same method.
Code quote:
theme.spacing(2)
True. In fact, the MUI documentation indicates I should be able to just use width: 2
in sx
and the theme.spacing
will be understood. However, when I try it, it's treating it like "2px"
as if it were a style
. So for now (and since there are so many more of these theme.spacing(#)
uses), I'm leaving that for a later refactor.
This change is