Skip to content

Commit

Permalink
Update apps/climatemappedafrica/src/components/Navigation/index.js
Browse files Browse the repository at this point in the history
Yes, I agree. Initially, I thought moving everything from defaultProps to the function parameters would add value, but I later realized it was unnecessary verbosity. Looks like I forgot to change this one !

Co-authored-by: KEVIN KOECH <koechkevin92@gmail.com>
  • Loading branch information
m453h and koechkevin authored Aug 29, 2024
1 parent 5f79083 commit 33886c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const useStyles = makeStyles(
}),
);

function Navigation({ variant = undefined, ...props }) {
function Navigation({ variant, ...props }) {
const classes = useStyles(props);

return (
Expand Down

0 comments on commit 33886c7

Please sign in to comment.