@@ -19,15 +19,17 @@ import { MintSection } from "./contracts/MintSection.tsx";
1919import { TransferSection } from "./contracts/TransferSection.tsx" ;
2020import { ClaimSection } from "./contracts/ClaimSection.tsx" ;
2121import { BalanceSection } from "./contracts/BalanceSection.tsx" ;
22+ import { SignMessageSection } from "./contracts/SignMessageSection.tsx" ;
2223import { ChipNotPresentError } from "../util/nfcClient.ts" ;
2324
24- type TabId = "mint" | "transfer" | "claim" | "balance" ;
25+ type TabId = "mint" | "transfer" | "claim" | "balance" | "sign" ;
2526
2627const TABS : Array < { id : TabId ; label : string } > = [
2728 { id : "mint" , label : "Mint" } ,
2829 { id : "transfer" , label : "Transfer" } ,
2930 { id : "claim" , label : "Claim" } ,
3031 { id : "balance" , label : "Balance" } ,
32+ { id : "sign" , label : "Sign" } ,
3133] ;
3234
3335/**
@@ -140,6 +142,13 @@ export const NFCMintProduct = () => {
140142 { activeTab === "balance" && (
141143 < BalanceSection key = { `balance-${ contractId } ` } contractId = { contractId } />
142144 ) }
145+ { activeTab === "sign" && (
146+ < SignMessageSection
147+ key = { `sign-${ contractId } ` }
148+ keyId = { selectedKeyId }
149+ contractId = { contractId }
150+ />
151+ ) }
143152 </ Box >
144153 ) ;
145154} ;
0 commit comments