Skip to content

Commit

Permalink
chore: update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed May 19, 2024
1 parent 04d3ef9 commit 6978ca4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/dashboard/new-deployment/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ export default function NewDeployment() {

// add 1 ICP to cover price fluctuation
//
// TODO: backend canister should first create the deployment
// and store the price, so that the frontend can fetch it
// and transfer the correct ICP amount accordingly
// TODO: try to deploy and parse the error from the canister.
// If the error is a not enough balance error, then we can
// send funds to the canister and try again.
setDeploymentE8sPrice(icpToE8s(icpPrice + 1));
} catch (e) {
console.error("Failed to fetch deployment price:", e);
Expand Down

0 comments on commit 6978ca4

Please sign in to comment.