File tree 7 files changed +15
-9
lines changed
app/src/lib/queries/balance/evm
7 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ evm/contracts/proto/** linguist-generated
15
15
* .lockb binary diff =lockb
16
16
* .zip filter =lfs diff =lfs merge =lfs - text
17
17
site /public /union-logo.zip filter =lfs diff =lfs merge =lfs - text
18
+ biome.json linguist-language =JSON-with-Comments
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export async function erc20ReadMulticall({
51
51
( accumulator , { result } , index ) => {
52
52
if ( index % functionNames . length === 0 ) accumulator . push ( { } )
53
53
54
- const currentResult = accumulator [ accumulator . length - 1 ]
54
+ const currentResult = accumulator . at ( - 1 )
55
55
const fn = functionNames [ index % functionNames . length ]
56
56
currentResult [ fn === "balanceOf" ? "balance" : fn ] = result ?? ( fn === "decimals" ? 0 : "" )
57
57
return accumulator
Original file line number Diff line number Diff line change 224
224
"noSecrets" : " off" ,
225
225
"noProcessEnv" : " off" ,
226
226
"useStrictMode" : " off" ,
227
+ "useExplicitType" : " off" ,
227
228
"noNestedTernary" : " off" ,
228
229
"noExportedImports" : " off" ,
229
230
"useImportRestrictions" : " off" ,
Original file line number Diff line number Diff line change @@ -127,5 +127,5 @@ export function formatWaitTime(minutes: number) {
127
127
return parts [ 0 ]
128
128
}
129
129
130
- return `${ parts . slice ( 0 , - 1 ) . join ( ", " ) } and ${ parts [ parts . length - 1 ] } `
130
+ return `${ parts . slice ( 0 , - 1 ) . join ( ", " ) } and ${ parts . at ( - 1 ) } `
131
131
}
Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ deferredacktypes
508
508
defi
509
509
delegators
510
510
dels
511
+ deno
511
512
denoms
512
513
denum
513
514
depinject
Original file line number Diff line number Diff line change 494
494
yq
495
495
] )
496
496
++ ( with jsPkgs ; [
497
- bun # for running TypeScript files on the fly
497
+ bun
498
+ deno
498
499
emmet-language-server
499
- nodePackages . graphqurl
500
500
nodePackages_latest . nodejs
501
+ nodePackages_latest . graphqurl
501
502
nodePackages_latest . svelte-language-server
502
503
nodePackages_latest . "@astrojs/language-server"
503
504
nodePackages_latest . "@tailwindcss/language-server"
Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ export function setupLivePreview({
49
49
} ) {
50
50
const callback = ( updatedData : any ) => {
51
51
const domElement = findElementByDataAttribute ( { entryId, fieldId } )
52
- if ( domElement && updatedData . fields && updatedData . fields [ fieldId ] ) {
53
- // Check if the content is text
54
- if ( typeof updatedData . fields [ fieldId ] === "string" ) {
55
- domElement . textContent = updatedData . fields [ fieldId ]
56
- }
52
+ if (
53
+ domElement &&
54
+ updatedData . fields &&
55
+ updatedData . fields [ fieldId ] &&
56
+ typeof updatedData . fields [ fieldId ] === "string"
57
+ ) {
58
+ domElement . textContent = updatedData . fields [ fieldId ]
57
59
}
58
60
}
59
61
const unsubscribe = ContentfulLivePreview . subscribe ( {
You can’t perform that action at this time.
0 commit comments