import { AppBar, Typography } from '@material-ui/core'; import Tabs from '@material-ui/core/Tabs'; import React from 'react'; import { useSelector } from 'react-redux'; import ButtonFilled from '../../components/Button/ButtonFilled'; import { StyledTab, TabPanel } from '../../components/Tabs'; import Center from '../../containers/layouts/Center'; import Scaffold from '../../containers/layouts/Scaffold'; import useActions from '../../redux/actions'; import * as TabActions from '../../redux/actions/tabs'; import { history } from '../../redux/configureStore'; import { RootState } from '../../redux/reducers'; import BrowseWorkflow from '../../views/ChaosWorkflows/BrowseWorkflow'; import Templates from '../../views/ChaosWorkflows/Templates'; import useStyles from './styles'; const Workflows = () => { const classes = useStyles(); const workflowTabValue = useSelector( (state: RootState) => state.tabNumber.workflows ); const tabs = useActions(TabActions); const handleChange = (event: React.ChangeEvent<{}>, newValue: number) => { tabs.changeWorkflowsTabs(newValue); }; return (
Chaos Workflows
history.push('/create-workflow')} > <>Schedule a workflow
{/* */}
Schedule comming soon
Analytics comming soon
); }; export default Workflows;