import React , { useState } from 'react' ; import Dashboard from '../../components/Dashboard/Dashboard' ; import { ACCOUNT_TAB } from '../../constants/tabs' ; const DashboardContainer = ( ) => { const [ tab , setTab ] = useState ( ACCOUNT_TAB ) ; return < Dashboard tab = { tab } setTab = { setTab } / > ; } ; export default DashboardContainer ;