Skip to content

Commit

Permalink
Clean up iiConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Feb 3, 2022
1 parent 65b908f commit 6c3c62d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/frontend/src/utils/iiConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ import * as tweetnacl from "tweetnacl";
import { fromMnemonicWithoutValidation } from "../crypto/ed25519";

declare var canisterId: string; // TODO: error on undefined
// eslint-disable-next-line
//const canisterId: string = process.env.CANISTER_ID!;
export const canisterIdPrincipal: Principal = Principal.fromText(canisterId);
export const baseActor = Actor.createActor<_SERVICE>(internet_identity_idl, {
agent: new HttpAgent({}),
Expand Down

0 comments on commit 6c3c62d

Please sign in to comment.