initial commit

This commit is contained in:
ferdiansyah783
2025-08-05 12:35:40 +07:00
commit fffa2ead5c
1069 changed files with 118056 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// React Imports
import { useContext } from 'react'
// Context Imports
import HorizontalNavContext from '../contexts/horizontalNavContext'
const useHorizontalNav = () => {
// Hooks
const context = useContext(HorizontalNavContext)
if (context === undefined) {
//TODO: set better error message
throw new Error('HorizontalNav Component is required!')
}
return context
}
export default useHorizontalNav