Skip to content

Commit

Permalink
remove diamondAbi
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Sep 10, 2024
1 parent 31cd42d commit 9843f7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/routes/diamond/[address]/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export const load: PageServerLoad = async ({ params, url, locals }) => {
diamondAbi = [...diamondAbi, ...facet.abi]
} catch (e) {
consola.error('Could not build facet')
continue
}
}

Expand All @@ -79,7 +78,7 @@ export const load: PageServerLoad = async ({ params, url, locals }) => {
return {
chain: network,
diamond,
diamondAbi,
// diamondAbi,
}
} catch (e) {
console.error(e)
Expand Down
1 change: 0 additions & 1 deletion src/routes/diamond/[address]/json/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export const GET: RequestHandler = async ({ params, url, locals }) => {
diamondAbi = [...diamondAbi, ...facet.abi]
} catch (e) {
consola.error('Could not build facet')
continue
}
}

Expand Down

0 comments on commit 9843f7f

Please sign in to comment.