From 33886c7f37552af6e4ffab0336c42c50e20f1c8f Mon Sep 17 00:00:00 2001 From: Michael Hudson Nkotagu Date: Thu, 29 Aug 2024 15:37:25 +0300 Subject: [PATCH] Update apps/climatemappedafrica/src/components/Navigation/index.js 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 --- apps/climatemappedafrica/src/components/Navigation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/climatemappedafrica/src/components/Navigation/index.js b/apps/climatemappedafrica/src/components/Navigation/index.js index 72eaebbdf..866c319f1 100644 --- a/apps/climatemappedafrica/src/components/Navigation/index.js +++ b/apps/climatemappedafrica/src/components/Navigation/index.js @@ -28,7 +28,7 @@ const useStyles = makeStyles( }), ); -function Navigation({ variant = undefined, ...props }) { +function Navigation({ variant, ...props }) { const classes = useStyles(props); return (