Skip to content

Commit

Permalink
PR review fixes from Francis
Browse files Browse the repository at this point in the history
Signed-off-by: Courtney Gosselin <[email protected]>
  • Loading branch information
CourtneyGosselin committed Feb 5, 2024
1 parent f622164 commit e153f18
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/layout/MainLayout/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const linkText = {
fontWeight: 'bold'
};

const SocialsContainer = styled(Box)(({ theme }) => ({
const SocialsContainer = styled(Box)(({ _ }) => ({
...flexFrame,
flexDirection: 'row',
gap: '5px',
Expand All @@ -50,17 +50,6 @@ const LinksContainer = styled(Box)(({ theme }) => ({
}
}));

const LinkFrame = styled(Box)(({ theme }) => ({
...linkFrame,
'& > svg': {
marginRight: '5px'
},
'& > *': {
...linkText,
color: theme.palette.primary.main
}
}));

const FundingLink = styled('a')(({ theme }) => ({
...linkFrame,
textDecoration: 'none',
Expand Down Expand Up @@ -148,7 +137,6 @@ function Footer(props) {

try {
document.execCommand('copy');
console.log('Email copied to clipboard');
handleTooltipOpen();
} catch (err) {
console.error('Fallback copy failed:', err);
Expand All @@ -163,7 +151,6 @@ function Footer(props) {
navigator.clipboard
.writeText(email)
.then(() => {
console.log('Email copied to clipboard');
handleTooltipOpen();
})
.catch(() => {
Expand Down

0 comments on commit e153f18

Please sign in to comment.