Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Dec 14, 2023
1 parent 4acdf11 commit f1083b7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions demos/web2_integration/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ import Layout from "../layouts/Layout.astro";
import { decodeJwt } from "jose";
import { Chan, renderPage, withRef } from "../utils";

export type ArgumentValue = { int: number } | { string: string };

/* Convert the JSON map/record into what the did spec expects */
const fixupArgs = (
arg: Record<string, string | number>,
): Array<[string, ArgumentValue]> => {
return Object.entries(arg).map(([k, v]) => [
k,
typeof v === "string" ? { string: v } : { int: v },
]);
};

const latestPres = new Chan<string | undefined>(undefined);
const ii = new Chan<
{ win: Window; origin: string; flowId: number } | undefined
Expand Down

0 comments on commit f1083b7

Please sign in to comment.