From 8704628c734a3f62801e4b4c12ebd318359a8905 Mon Sep 17 00:00:00 2001 From: Olu Amey Date: Sun, 11 Dec 2022 21:39:55 -0500 Subject: [PATCH] Navigation update --- src/components/Navigation.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/Navigation.js b/src/components/Navigation.js index 34a7760..f321c2a 100644 --- a/src/components/Navigation.js +++ b/src/components/Navigation.js @@ -1,7 +1,14 @@ -import React from 'react'; +import React, { useEffect } from 'react'; import { Link } from 'react-router-dom'; +import StickyMenu from './../lib/StickyMenu'; +import getConfig from './../Config/config'; -function Navigation() { + +function Navigation({ action }) { + var site = getConfig()[0]; + useEffect(() => { + StickyMenu(); + }, []); return ( <>