Compare commits

..

No commits in common. '8697eac896ce9240d34c65a9694237aec6e62594' and 'b1674a9ce94cc73114293831ba21d54a32a5561e' have entirely different histories.

  1. 4
      package.json
  2. 2
      src/_constants/config.js
  3. 4
      src/_screens/home/teacher/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,4 +1,4 @@
const enviroment = "";
const enviroment = ".dev";
export const configConstants = {
API_URL: "",

@ -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>

Loading…
Cancel
Save