Resolve merge master

nam_fe
doannamq 2 months ago
commit 8697eac896
  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 --max_old_space_size=4096 start",
"build": "react-scripts --max_old_space_size=4096 build",
"start": "react-scripts --openssl-legacy-provider --max_old_space_size=4096 start",
"build": "react-scripts --openssl-legacy-provider --max_old_space_size=4096 build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",

@ -1,4 +1,4 @@
const enviroment = ".dev";
const enviroment = "";
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}}>{totalClass}</span>
<span style={{color: PRIMARY_COLOR}}>{listClass?.length}</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}}>{totalAssign}</span>
<span style={{color: PRIMARY_COLOR}}>{countAss(listClass)}</span>
</span>
</div>
</div>

Loading…
Cancel
Save