import TabNavigation from '../ReusableComponents/TabNavigation'; import { getSettingsTabs } from './tabs'; import { useOnboardingStep } from '../../data'; import Onboarding from './Onboarding/Onboarding'; const Settings = () => { const onboardingProgress = useOnboardingStep(); if ( ! onboardingProgress.isReady ) { // TODO: Use better loading state indicator. return
Loading...
; } if ( ! onboardingProgress.completed ) { return ; } const tabs = getSettingsTabs( onboardingProgress ); return ; }; export default Settings;