We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3c3f9c commit 987baa9Copy full SHA for 987baa9
autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/Wallet.tsx
@@ -256,8 +256,9 @@ export function Wallet() {
256
if (notification.type !== "onboarding") {
257
return;
258
}
259
+ const r = walletRef.current;
260
- if (walletRef.current) {
261
+ if (r && walletRef.current) {
262
// Fix confetti appearing in the top left corner
263
const rect = walletRef.current.getBoundingClientRect();
264
if (rect.width === 0 || rect.height === 0) {
0 commit comments