Skip to content

Commit

Permalink
Hot fix UI
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Jul 26, 2024
1 parent 0557cd4 commit 23d480b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions packages/extension-koni-ui/src/components/Games/GameCardItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@ function Component ({ className, item, onOpenLeaderboard, onPlay }: Props) {
</Button>

{
!isComingSoon && (
<Button
className={'-primary-3'}
icon={(
<Icon
customSize={'20px'}
phosphorIcon={ChartBar}
weight={'fill'}
/>
)}
onClick={_openLeaderboard}
shape={'circle'}
size={'xs'}
/>
)
// !isComingSoon && (
// <Button
// className={'-primary-3'}
// icon={(
// <Icon
// customSize={'20px'}
// phosphorIcon={ChartBar}
// weight={'fill'}
// />
// )}
// onClick={_openLeaderboard}
// shape={'circle'}
// size={'xs'}
// />
// )
}
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Component = ({ backgroundImages, backgroundStyle, children, className, onC

<Tooltip
className={'invite-tooltip'}
open={!isVisitedInvitationScreen}
open={false}
overlayClassName={'tooltip-overlay'}
placement={'bottomRight'}
title={t('Invite your friend')}
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-koni-ui/src/connector/booka/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ export class BookaSdk {

async getAirlyftToken () {
try {
return await this.getRequest(`${GAME_API_HOST}/api/airlyft/get-token`) as unknown as Promise<{token: string, success: boolean} | undefined>;
return await this.getRequest<{token: string, success: boolean} | undefined>(`${GAME_API_HOST}/api/airlyft/get-token`);
} catch (error) {
console.error('Error in fetchAirdropHistory:', error);
throw error;
Expand Down

0 comments on commit 23d480b

Please sign in to comment.