mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-19 05:54:07 +01:00
Fix casing of KpiCard component and remove
unnecessary console.log
This commit is contained in:
parent
f88aa1a1ab
commit
ca2ad68a8c
@ -4,7 +4,6 @@ import axiosInstance from "../../api/configs/AxiosConfig";
|
|||||||
|
|
||||||
const fetchBarChartData = async () => {
|
const fetchBarChartData = async () => {
|
||||||
let res = await axiosInstance.get("/dashboard/weekly/");
|
let res = await axiosInstance.get("/dashboard/weekly/");
|
||||||
console.log(res.data);
|
|
||||||
// const barchartData = [
|
// const barchartData = [
|
||||||
// {
|
// {
|
||||||
// date: "Mon",
|
// date: "Mon",
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import {
|
|||||||
Title,
|
Title,
|
||||||
Legend,
|
Legend,
|
||||||
} from "@tremor/react";
|
} from "@tremor/react";
|
||||||
import KpiCard from "./kpiCard";
|
import KpiCard from "./KpiCard";
|
||||||
import { BarChartGraph } from "./Barchart";
|
import { BarChartGraph } from "./Barchart";
|
||||||
import DonutChartGraph from "./DonutChart";
|
import DonutChartGraph from "./DonutChart";
|
||||||
import { AreaChartGraph } from "./Areachart";
|
import { AreaChartGraph } from "./Areachart";
|
||||||
|
|||||||
@ -45,7 +45,7 @@ function TaskCard({ task, deleteTask, updateTask}) {
|
|||||||
description={task.description}
|
description={task.description}
|
||||||
tags={task.tags}
|
tags={task.tags}
|
||||||
difficulty={task.difficulty}
|
difficulty={task.difficulty}
|
||||||
challenge={task.challenge}
|
f challenge={task.challenge}
|
||||||
importance={task.importance}
|
importance={task.importance}
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user