import React , { useEffect , useContext } from 'react' ; import { IonRouterContext } from '@ionic/react' ; const RedirectRouting = ( ) => { const ionRouterContext = useContext ( IonRouterContext ) ; useEffect ( ( ) => { ionRouterContext . push ( '/routing/tabs' , 'none' ) ; } , [ ] ) ; return null ; } ; export default RedirectRouting ;