Skip to content

Commit

Permalink
handle null bounty value
Browse files Browse the repository at this point in the history
  • Loading branch information
HamdiBenK committed Sep 19, 2023
2 parents 2384419 + d0ae6eb commit bccc2d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/app/core/services/Auth/auth-store.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ export class AuthStoreService {
tap(async (res) => {
const fetchedBalance = await this.fetchBalance();

const walletVersion =
this.tokenStorageService.getNewUserV2() === 'false' &&
(fetchedBalance === 0.0 || res.data.migrated)
const walletVersion = fetchedBalance === 0.0
? 'v1'
: 'v2';

Expand Down
2 changes: 1 addition & 1 deletion src/app/notifications/notification.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ input[type='search']::-webkit-search-cancel-button {
border-bottom: 0.25px solid rgba(117, 117, 143, 0.3) !important;

/* should add an hr under the ng for for the lline better than use border-bottom */
width: 35vw;
width: 725px;
/* the border bottom take the width of the div which is actually 50% of the view port to increase the border we should increase the width for the div */
/* if there is some problem with the design please comment the line 221 */
}
Expand Down

0 comments on commit bccc2d4

Please sign in to comment.