Skip to content

Commit 60b6423

Browse files
Merge pull request #20 from StabilityNexus/FrontendSar
Linter issues fix
2 parents ea3088d + a58fad4 commit 60b6423

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/app/my-tnts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function MyTNTsPage() {
112112
setError(null);
113113
console.log(`Fetching TNTs for page ${page}, user: ${address}`);
114114

115-
let allTNTs: TNTDetails[] = [];
115+
const allTNTs: TNTDetails[] = [];
116116
const seenTNTs = new Set<string>(); // Track unique TNTs by address+chainId
117117

118118
// Get TNTs from contract functions

web/src/utils/roleManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class TNTRoleManager {
112112
address: this.contractAddress,
113113
abi: TNTAbi,
114114
functionName: "revokable",
115-
}) as Promise<boolean>;
115+
}) as boolean;
116116

117117
return {
118118
canIssue: userRoles.hasAdminRole || userRoles.hasMinterRole,

0 commit comments

Comments
 (0)