Compare commits

..

No commits in common. 'uat' and 'quy_fe' have entirely different histories.
uat ... quy_fe

  1. 4
      package.json
  2. 15
      src/_helpers/chartRegister.js
  3. 4
      src/_screens/home/teacher/index.js
  4. 1
      src/index.js

@ -59,8 +59,8 @@
"@babel/core": "7.16.0"
},
"scripts": {
"start": "react-scripts --openssl-legacy-provider --max_old_space_size=4096 start",
"build": "react-scripts --openssl-legacy-provider --max_old_space_size=4096 build",
"start": "react-scripts --max_old_space_size=4096 start",
"build": "react-scripts --max_old_space_size=4096 build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",

@ -1,15 +0,0 @@
import { Chart, ArcElement, DoughnutController, Tooltip, Legend, CategoryScale, LinearScale, BarElement, BarController, LineController, LineElement, PointElement } from 'chart.js';
Chart.register(
ArcElement,
DoughnutController,
Tooltip,
Legend,
CategoryScale,
LinearScale,
BarElement,
BarController,
LineController,
LineElement,
PointElement
);

@ -260,13 +260,13 @@ export default function TeacherHome() {
<div className="teacher-home-info-assign-box">
<img src="/assets/imgs/icon_group.png" />
<span style={{fontWeight: 700}}>{"Tổng số lớp: "}
<span style={{color: PRIMARY_COLOR}}>{listClass?.length}</span>
<span style={{color: PRIMARY_COLOR}}>{totalClass}</span>
</span>
</div>
<div className="teacher-home-info-assign-box">
<img src="/assets/imgs/icon_assign_class.png" />
<span style={{fontWeight: 700}}>{"Tổng số lần giao: "}
<span style={{color: PRIMARY_COLOR}}>{countAss(listClass)}</span>
<span style={{color: PRIMARY_COLOR}}>{totalAssign}</span>
</span>
</div>
</div>

@ -1,6 +1,5 @@
import React from "react";
import ReactDOM from "react-dom";
import "./_helpers/chartRegister"
import App from "./App";
import registerServiceWorker from "./registerServiceWorker";
import appReducers from "./_reducers";

Loading…
Cancel
Save