init project
This commit is contained in:
10
src/lib/app/hooks/useDirection.jsx
Normal file
10
src/lib/app/hooks/useDirection.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { useContext } from "react";
|
||||
import { LanguageContext } from "../contexts/language";
|
||||
|
||||
const useDirection = () => {
|
||||
const { directionApp } = useContext(LanguageContext);
|
||||
|
||||
return { directionApp };
|
||||
};
|
||||
|
||||
export default useDirection;
|
||||
Reference in New Issue
Block a user