Skip to content

Commit

Permalink
consolidate background color under sx prop and remove style prop
Browse files Browse the repository at this point in the history
  • Loading branch information
suejinkim20 committed Feb 16, 2024
1 parent bf4b156 commit 5adf6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/branding/LogoBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const styles = {
export const LogoBlock = ({logo, bgColor}) => {
return (
<Card sx={ styles.card }>
<CardContent sx={ styles.topper } style={{ backgroundColor: bgColor }}>
<CardContent sx={{ ...styles.topper, backgroundColor: bgColor }}>
<a
href={logo.src}
target="_blank"
Expand Down

0 comments on commit 5adf6cc

Please sign in to comment.