ChangeRolePop

dev_ec^2
hjm 6 years ago
parent 297371b85f
commit d2016b8e0e

@ -1,4 +1,4 @@
import React, { useState, useEffect } from 'react' import React, { useState, useEffect, memo } from 'react'
import { trigger, WordsBtn } from 'educoder' import { trigger, WordsBtn } from 'educoder'
import { Input, Checkbox, Popconfirm } from "antd"; import { Input, Checkbox, Popconfirm } from "antd";
import axios from 'axios' import axios from 'axios'
@ -77,4 +77,4 @@ function ChangeRolePop({ member_roles = [], record, courseId, onChangeRoleSucces
</Popconfirm> </Popconfirm>
) )
} }
export default ChangeRolePop export default memo(ChangeRolePop)
Loading…
Cancel
Save