Show work hours on dashboard #20

Merged
bilal.catic merged 4 commits from show-work-hours-on-dashboard into master 2020-10-06 08:59:34 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2cff843e88 - Show all commits

View File

@@ -5,7 +5,7 @@ import axios from 'axios';
import { MAKE_MONEY_MOVE } from '../RouteNames';
import { withRouter } from 'react-router-dom';
import { formatMoney, formatTime } from '../common/formatting';
import YesNoModal from "../common/YesNoModal";
import InputModal from "../common/InputModal";
import { errorToast } from "../common/errorHelpers";
import M from 'materialize-css';

View File

@@ -16,7 +16,7 @@ const MakeMoneyMove = (props) => {
useEffect(() => {
const getCashForHomies = async () => {
try {
const cash = await axios.get(`/api/homies/cash`);
const cash = await axios.get(`/api/homies/info`);
setHomiesCash(cash.data);
} catch (e) {
console.log("Error fetching", e);