diff --git a/dashboard/src/states/Dashboard/pages/AccessKeys/components/KeyCreationDialog/KeyCreationDialog.jsx b/dashboard/src/states/Dashboard/pages/AccessKeys/components/KeyCreationDialog/KeyCreationDialog.jsx index 5ca5a33..068968a 100644 --- a/dashboard/src/states/Dashboard/pages/AccessKeys/components/KeyCreationDialog/KeyCreationDialog.jsx +++ b/dashboard/src/states/Dashboard/pages/AccessKeys/components/KeyCreationDialog/KeyCreationDialog.jsx @@ -27,7 +27,7 @@ export const KeyCreationDialog = ({open, onClose, fetchKeys, setCreatedKey}) => setName(event.target.value); } - const updateDescription = async (event) => { + const updateRole = async (event) => { setCreationError(""); setRole(event.target.value); } @@ -70,7 +70,7 @@ export const KeyCreationDialog = ({open, onClose, fetchKeys, setCreatedKey}) => Role -