diff --git a/packages/sdk/src/GameSdk.ts b/packages/sdk/src/GameSdk.ts index 39f0da42..61c03f93 100644 --- a/packages/sdk/src/GameSdk.ts +++ b/packages/sdk/src/GameSdk.ts @@ -191,7 +191,7 @@ export class GamesSDK { await this.api.saveSessionTX(txHash, [ethAccount.address, cereAccount.address]); } - private async startSession() { + async startSession() { this.session = await this.api.startSession(); this.sessionEvents = []; @@ -281,7 +281,7 @@ export class GamesSDK { async showConnectWallet({ onConnect, onComplete, score }: ShowConnectWalletOptions = {}) { const connectWallet = document.createElement('cere-connect-wallet'); - const { open, ...modal } = UI.createFullscreenModal(connectWallet, { hasClose: true }); + const { open, ...modal } = UI.createFullscreenModal(connectWallet); connectWallet.update({ score, diff --git a/packages/ui/src/components/ProgressiveImg/ProgressiveImg.tsx b/packages/ui/src/components/ProgressiveImg/ProgressiveImg.tsx index 7cea7fc3..b6888e83 100644 --- a/packages/ui/src/components/ProgressiveImg/ProgressiveImg.tsx +++ b/packages/ui/src/components/ProgressiveImg/ProgressiveImg.tsx @@ -36,7 +36,6 @@ export const ProgressiveImg = ({ src, ...props }: ProgressiveImgProps) => { }; } }, [src]); - return ( {isLoading ? : }