ok
This commit is contained in:
@@ -10,7 +10,7 @@ import { ThreeDots } from "react-loader-spinner";
|
||||
import Header from '../components/Header';
|
||||
import CircularDiagram from "./CircularDiagram";
|
||||
import API_BASE_URL from '../config';
|
||||
import BarChart from '../components/BarChart';
|
||||
import DailyCharts from '../components/DailyCharts';
|
||||
|
||||
const LinktreePage = ({ user, setModal }) => {
|
||||
const navigate = useNavigate();
|
||||
@@ -746,7 +746,7 @@ const sortedMaterials = allMaterials.sort((a, b) => new Date(a.date) - new Date(
|
||||
|
||||
</div>
|
||||
<h3>penambahan stok</h3>
|
||||
<BarChart Data={selectedItems?.report?.materialsPurchased || sortedMaterials} />
|
||||
<DailyCharts Data={selectedItems?.report?.materialsPurchased || sortedMaterials} />
|
||||
<div style={{ height: '24vh' }}></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user