Skip to content

Commit

Permalink
Merge pull request #122 from NEARBuilders/fix-flash
Browse files Browse the repository at this point in the history
Fix flash
  • Loading branch information
elliotBraem authored Feb 2, 2024
2 parents 06c7fa1 + 81d16dd commit de9659e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/builddao/widget/components/buttons/Connect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ const Container = styled.div`
}
`;

const { href: linkHref } =
VM.require("buildhub.near/widget/lib.url") || (() => {});
const { href: linkHref } = VM.require("buildhub.near/widget/lib.url") || {
href: () => {},
};

const Component = () => {
if (data.isDaoMember || isConnected) {
Expand Down

0 comments on commit de9659e

Please sign in to comment.