index.js 406 Bytes
Newer Older
quynhquang400@gmail.com's avatar
quynhquang400@gmail.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* eslint-disable prettier/prettier */
import React from 'react';

import {useSelector} from 'react-redux';
import {authSelector} from '../../app/selectors';
import SalaryContainer from './SalaryContainer';

export default function SalaryScreen() {
  const userDetails = useSelector(authSelector);

  const salaryScreenProps = {
    userDetails,
  };
  return <SalaryContainer {...salaryScreenProps} />;
}