Fix casing of KpiCard component and remove

unnecessary console.log
This commit is contained in:
Pattadon 2023-11-23 00:51:52 +07:00
parent f88aa1a1ab
commit ca2ad68a8c
3 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import axiosInstance from "../../api/configs/AxiosConfig";
const fetchBarChartData = async () => {
let res = await axiosInstance.get("/dashboard/weekly/");
console.log(res.data);
// const barchartData = [
// {
// date: "Mon",

View File

@ -10,7 +10,7 @@ import {
Title,
Legend,
} from "@tremor/react";
import KpiCard from "./kpiCard";
import KpiCard from "./KpiCard";
import { BarChartGraph } from "./Barchart";
import DonutChartGraph from "./DonutChart";
import { AreaChartGraph } from "./Areachart";

View File

@ -45,7 +45,7 @@ function TaskCard({ task, deleteTask, updateTask}) {
description={task.description}
tags={task.tags}
difficulty={task.difficulty}
challenge={task.challenge}
f challenge={task.challenge}
importance={task.importance}
/>
<div