Skip to content

Commit

Permalink
refactor: Nettoyage de code
Browse files Browse the repository at this point in the history
  • Loading branch information
remillc committed May 29, 2024
1 parent 9b6e19f commit 2679bdb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/Footer/UdeMFooterNote.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ function Copyright() {
)
}

function NoteDivider({ children }) {
const isSmall = useSmall()

return isSmall && <Divider orientation="vertical" variant="middle" flexItem sx={{ borderColor: 'currentcolor', opacity: 0.6, paddingInline: 1 }} aria-hidden="true" />
}

const StyledNoteCell = styled(Grid)(({ theme }) => ({
[`${theme.breakpoints.down('md')}`]: {
position: 'relative',
Expand Down Expand Up @@ -59,12 +53,12 @@ export function UdeMFooterNote() {
return (
<FooterContainer>
<Box
sx={(theme) => ({
sx={{
py: 1.5,
borderTop: '1px solid currentColor',
width: '100%',
fontSize: '.6875rem',
})}
}}
>
<Grid container width="100%" columnGap={{ xs: 1, md: 2 }}>
<NoteCell xs={12} md={true} order={{ xs: 1, md: 0 }} sx={{ paddingBlockStart: { xs: '1em', md: 0 } }}>
Expand Down

0 comments on commit 2679bdb

Please sign in to comment.