{"size": 562, "ext": "js", "max_stars_repo_path": "src/dashboard-pages/Senders/index.js", "max_stars_repo_name": "bobbarker101/create-react-app-auth-amplify", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/dashboard-pages/Senders/index.js", "max_issues_repo_name": "bobbarker101/create-react-app-auth-amplify", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/dashboard-pages/Senders/index.js", "max_forks_repo_name": "bobbarker101/create-react-app-auth-amplify", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.48, "max_line_length": 75, "alphanum_fraction": 0.6298932384}
import React from 'react';

import { PageTitle } from 'layout-components';



import SendersTable from '../../dashboard-components/Senders/SendersTable';
import { useSelector } from "react-redux";

export default function Senders() {
    const { senders } = useSelector(state => state.UserOptions);
  return (
    <>
      <PageTitle
        titleHeading="Senders"
        titleDescription="Add, edit and delete your senders on this page.">
      </PageTitle>
        {senders.length>0 &&
            <SendersTable senders={senders} />
        }

    </>
  );
}
