♻️ Greatly improve Navigation component

This commit is contained in:
Philipp Stracker 2024-12-02 17:46:07 +01:00
parent 2b87837345
commit f4cfabacf9
No known key found for this signature in database
3 changed files with 66 additions and 98 deletions

View file

@ -113,3 +113,13 @@ export const useSteps = () => {
return { flags, isReady, step, setStep, completed, setCompleted };
};
export const useNavigationState = () => {
const products = useProducts();
const business = useBusiness();
return {
products,
business,
};
};