Skip to content

Commit

Permalink
feat 🦄: Developed a first working version
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzoronzani committed Jun 19, 2024
1 parent 9caa66d commit cddacde
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {DeploymentTier} from "@/types/deployment";
import {ChevronsUpDown} from "lucide-react";
import {useRouter} from "next/navigation";
import {useCallback, useEffect, useState} from "react";
import {extractOk} from "@/helpers/result";

export default function Dashboard() {
const router = useRouter();
Expand Down Expand Up @@ -146,6 +147,17 @@ export default function Dashboard() {
manifest_sorted_json,
cert!
);

const stepActive = {
Active: null,
};

extractOk(
await backendActor!.update_deployment_state(
deployment.id,
stepActive
)
);
} catch (e) {
console.error(e);
}
Expand Down

0 comments on commit cddacde

Please sign in to comment.