ui - edit interal user flow

This commit is contained in:
Ishaan Jaff 2024-05-29 17:28:29 -07:00
parent 425a8fdb3a
commit 1dfc391a2b
2 changed files with 20 additions and 10 deletions

View file

@ -65,9 +65,9 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
const [selectedUser, setSelectedUser] = useState(null);
const defaultPageSize = 25;
const handleEditCancel = () => {
setEditModalVisible(false);
const handleEditCancel = async () => {
setSelectedUser(null);
setEditModalVisible(false);
};
const handleEditSubmit = async (editedUser: any) => {