Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Meriem-BenIsmail committed Feb 20, 2025
1 parent de4776b commit e9efe14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/environments/NewEnvironmentDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,13 @@ function _NewEnvironmentDialog(props: INewEnvironmentDialogProps) {
data.memory = data.memory ?? '2';
data.username = data.username ?? '';
data.password = data.password ?? '';
console.log('submitted data', data);
const response = await axios.serviceClient.request({
method: 'post',
path: ENV_PREFIX,
data
});
console.log(response);
if (response?.status === 'ok') {
// window.location.reload();
window.location.reload();
} else {
handleClose();
}
Expand Down

0 comments on commit e9efe14

Please sign in to comment.