File tree Expand file tree Collapse file tree 7 files changed +15
-9
lines changed
app/src/lib/queries/balance/evm Expand file tree Collapse file tree 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
1515* .lockb binary diff =lockb
1616* .zip filter =lfs diff =lfs merge =lfs - text
1717site /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({
5151 ( accumulator , { result } , index ) => {
5252 if ( index % functionNames . length === 0 ) accumulator . push ( { } )
5353
54- const currentResult = accumulator [ accumulator . length - 1 ]
54+ const currentResult = accumulator . at ( - 1 )
5555 const fn = functionNames [ index % functionNames . length ]
5656 currentResult [ fn === "balanceOf" ? "balance" : fn ] = result ?? ( fn === "decimals" ? 0 : "" )
5757 return accumulator
Original file line number Diff line number Diff line change 224224 "noSecrets" : " off" ,
225225 "noProcessEnv" : " off" ,
226226 "useStrictMode" : " off" ,
227+ "useExplicitType" : " off" ,
227228 "noNestedTernary" : " off" ,
228229 "noExportedImports" : " off" ,
229230 "useImportRestrictions" : " off" ,
Original file line number Diff line number Diff line change @@ -127,5 +127,5 @@ export function formatWaitTime(minutes: number) {
127127 return parts [ 0 ]
128128 }
129129
130- return `${ parts . slice ( 0 , - 1 ) . join ( ", " ) } and ${ parts [ parts . length - 1 ] } `
130+ return `${ parts . slice ( 0 , - 1 ) . join ( ", " ) } and ${ parts . at ( - 1 ) } `
131131}
Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ deferredacktypes
508508defi
509509delegators
510510dels
511+ deno
511512denoms
512513denum
513514depinject
Original file line number Diff line number Diff line change 494494 yq
495495 ] )
496496 ++ ( with jsPkgs ; [
497- bun # for running TypeScript files on the fly
497+ bun
498+ deno
498499 emmet-language-server
499- nodePackages . graphqurl
500500 nodePackages_latest . nodejs
501+ nodePackages_latest . graphqurl
501502 nodePackages_latest . svelte-language-server
502503 nodePackages_latest . "@astrojs/language-server"
503504 nodePackages_latest . "@tailwindcss/language-server"
Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ export function setupLivePreview({
4949} ) {
5050 const callback = ( updatedData : any ) => {
5151 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 ]
5759 }
5860 }
5961 const unsubscribe = ContentfulLivePreview . subscribe ( {
You can’t perform that action at this time.
0 commit comments