Added totp-generator dependency

This commit is contained in:
Mike Conrad
2023-08-25 21:56:39 -04:00
parent 01a9bc6cb4
commit 4e5bced49a
4 changed files with 49 additions and 0 deletions

10
src/tokenList.ts Normal file
View File

@ -0,0 +1,10 @@
import { displayTokenListItem } from "./TokenListItem";
import { tokens } from "./tokens";
export function tokenList() {
const element = document.createElement("div");
element.classList.add("test");
return `<form id="tokens">${tokens.map((token) =>
displayTokenListItem(token.account, token.secret, element)
)}</form>`;
}