Skip to content

Commit

Permalink
perf: render function
Browse files Browse the repository at this point in the history
  • Loading branch information
preschian committed Dec 12, 2024
1 parent 68996f5 commit bae775b
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 218 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@polkadot/ui-settings": "^3.6.6",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/vue-identicon": "^3.6.6",
"@polkadot/vue-identicon": "^3.11.3",
"@ramp-network/ramp-instant-sdk": "^4.0.5",
"@tanstack/vue-query": "^5.56.2",
"@transak/transak-sdk": "^1.4.1",
Expand Down Expand Up @@ -148,5 +148,10 @@
},
"resolutions": {
"@apollo/federation": "0.38.1"
},
"pnpm": {
"patchedDependencies": {
"@polkadot/vue-identicon@3.11.3": "patches/@polkadot__vue-identicon@3.11.3.patch"
}
}
}
13 changes: 13 additions & 0 deletions patches/@polkadot__vue-identicon@3.11.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/Identicon.js b/Identicon.js
index 18ac195b5fd0adfe10aa1e69ef5715e32be3ad2d..24f446e967cd089c930a405503aacb4021238370 100644
--- a/Identicon.js
+++ b/Identicon.js
@@ -97,7 +97,7 @@ export const Identicon = defineComponent({
key: address,
size: iconSize
})
- }, []);
+ }, () => []);
}
else {
return h(cmp, {}, []);
Loading

0 comments on commit bae775b

Please sign in to comment.