Skip to content

Commit

Permalink
removing unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
l3lackcurtains committed Aug 14, 2019
1 parent 7a56ab0 commit 1702d04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/containers/dashboard/invoices/createInvoice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ const CreateInvoice = () => {
}

function onChange(date: any, dateString: any) {
console.log(date, dateString);
//
}
function handleChange(value: any) {
console.log(`selected ${value}`);
//
}

function onSelectChange(value: any) {
console.log(`selected ${value}`);
//
}

return (
Expand Down
8 changes: 3 additions & 5 deletions src/containers/dashboard/reports/filters/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { Component } from "react";

import { Row, Col, Popover, Button, DatePicker } from "antd";
import { Button, Col, DatePicker, Popover, Row } from "antd";
import moment from "moment";
import React, { Component } from "react";

const RangePicker = DatePicker.RangePicker;

Expand All @@ -13,8 +12,7 @@ const userContents = (
);

function onChange(dates: any, dateStrings: any) {
console.log("From: ", dates[0], ", to: ", dates[1]);
console.log("From: ", dateStrings[0], ", to: ", dateStrings[1]);
//
}
class Filters extends Component {
render() {
Expand Down
1 change: 0 additions & 1 deletion src/containers/dashboard/timer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const Panel = Collapse.Panel;

const Timer = () => {
const getTimerRecords = useQuery(GET_USER_TIMER_RECORDS);
console.log(getTimerRecords);
if (getTimerRecords.error) {
return <div>No Timer Records</div>;
}
Expand Down

0 comments on commit 1702d04

Please sign in to comment.