diff --git a/assets/admin/students/student-action-menu/index.js b/assets/admin/students/student-action-menu/index.js index 4ee43b14d1..38119cf448 100644 --- a/assets/admin/students/student-action-menu/index.js +++ b/assets/admin/students/student-action-menu/index.js @@ -105,7 +105,7 @@ export const StudentActionMenu = ( { setAction, setModalOpen ).then( ( response ) => { - setControls( [ ...response ] ); + setControls( response ); } ); }, [ defaultControls ] );