Skip to content

Commit 987baa9

Browse files
committed
Meaningless change
1 parent b3c3f9c commit 987baa9

File tree

1 file changed

+2
-1
lines changed
  • autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet

1 file changed

+2
-1
lines changed

autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/Wallet.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,9 @@ export function Wallet() {
256256
if (notification.type !== "onboarding") {
257257
return;
258258
}
259+
const r = walletRef.current;
259260

260-
if (walletRef.current) {
261+
if (r && walletRef.current) {
261262
// Fix confetti appearing in the top left corner
262263
const rect = walletRef.current.getBoundingClientRect();
263264
if (rect.width === 0 || rect.height === 0) {

0 commit comments

Comments
 (0)