Skip to content

Commit

Permalink
fix poweredBy rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Oct 10, 2024
1 parent 83012c7 commit 84ea1f5
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -23727,7 +23727,7 @@ var ConnectStack = (function (props) {
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React.createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -29948,7 +29948,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(PoweredBy, null), /*#__PURE__*/React.createElement(SolanaPayProvider, {
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -29968,7 +29968,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(PaymentValueProvider, null, /*#__PURE__*/React.createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React.createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23729,7 +23729,7 @@ var ConnectStack = (function (props) {
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React.createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -31378,7 +31378,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(PoweredBy, null), /*#__PURE__*/React.createElement(SolanaPayProvider, {
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -31398,7 +31398,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(PaymentValueProvider, null, /*#__PURE__*/React.createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React.createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -23728,7 +23728,7 @@ var ConnectStack = (function (props) {
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React.createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -39103,7 +39103,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(PoweredBy, null), /*#__PURE__*/React.createElement(SolanaPayProvider, {
}, /*#__PURE__*/React.createElement(NavigateProvider, null, /*#__PURE__*/React.createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -39123,7 +39123,7 @@ var Payment = /*#__PURE__*/function () {
}, /*#__PURE__*/React.createElement(PaymentValueProvider, null, /*#__PURE__*/React.createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React.createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -23725,7 +23725,7 @@
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -29946,7 +29946,7 @@
}, /*#__PURE__*/React__default['default'].createElement(UpdatableProvider, null, /*#__PURE__*/React__default['default'].createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(PoweredBy, null), /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -29966,7 +29966,7 @@
}, /*#__PURE__*/React__default['default'].createElement(PaymentValueProvider, null, /*#__PURE__*/React__default['default'].createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23725,7 +23725,7 @@
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -31374,7 +31374,7 @@
}, /*#__PURE__*/React__default['default'].createElement(UpdatableProvider, null, /*#__PURE__*/React__default['default'].createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(PoweredBy, null), /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -31394,7 +31394,7 @@
}, /*#__PURE__*/React__default['default'].createElement(PaymentValueProvider, null, /*#__PURE__*/React__default['default'].createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -23726,7 +23726,7 @@
continueWithSolanaPay: props.continueWithSolanaPay
})
}
}));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null));
});

var ensureDocument = (function (document) {
Expand Down Expand Up @@ -39101,7 +39101,7 @@
}, /*#__PURE__*/React__default['default'].createElement(UpdatableProvider, null, /*#__PURE__*/React__default['default'].createElement(ClosableProvider, {
unmount: unmount,
closable: closable
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(PoweredBy, null), /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
}, /*#__PURE__*/React__default['default'].createElement(NavigateProvider, null, /*#__PURE__*/React__default['default'].createElement(SolanaPayProvider, {
unmount: unmount,
document: document,
container: container
Expand All @@ -39121,7 +39121,7 @@
}, /*#__PURE__*/React__default['default'].createElement(PaymentValueProvider, null, /*#__PURE__*/React__default['default'].createElement(PaymentStack, {
document: document,
container: container
})))))))))))))));
}), /*#__PURE__*/React__default['default'].createElement(PoweredBy, null)))))))))))))));
};
});
return _context2.abrupt("return", {
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Payment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ let Payment = async ({
<UpdatableProvider>
<ClosableProvider unmount={ unmount } closable={ closable }>
<NavigateProvider>
<PoweredBy/>
<SolanaPayProvider unmount={ unmount } document={ document } container={ container }>
<WalletProvider document={ document } container={ container } connected={ connected } unmount={ unmount }>
<ConversionRateProvider>
Expand All @@ -90,6 +89,7 @@ let Payment = async ({
document={ document }
container={ container }
/>
<PoweredBy/>
</PaymentValueProvider>
</PaymentProvider>
</PaymentTrackingProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoweredBy.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import link from '../helpers/link'
import React, { useContext } from 'react'
import React, { useContext, useEffect } from 'react'
import WalletContext from '../contexts/WalletContext'

export default ()=>{
Expand Down
1 change: 1 addition & 0 deletions src/stacks/ConnectStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export default (props)=>{
/>
}}
/>
<PoweredBy/>
</div>
)
}

0 comments on commit 84ea1f5

Please sign in to comment.