Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
upalinski committed Jan 21, 2025
1 parent 3c464dd commit b6ca5cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/AssetList/AssetListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type AssetListItemProps = ListItemProps<'div'> & {
export const AssetListItem = ({ asset, disableInset = false, iconSize = 'inherit', ...props }: AssetListItemProps) => {
const { ticker, displayName, network, balance } = asset;
const { getUsdBalance } = useBalanceStore();

return (
<ListItem component="div" {...props}>
<ListItemIcon inset>
Expand Down
2 changes: 1 addition & 1 deletion src/stores/CollectiblesStore/CollectionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CollectiblesStore {
reaction(
() => wallet.account?.address,
async (address) => {
if (address && wallet.mode != 'light') {
if (address && wallet.mode !== 'light') {
await this.updateNfts(address);
} else {
this._nfts = [];
Expand Down
4 changes: 2 additions & 2 deletions src/stores/ExchangeRatesStore/ExchangeRatesStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ExchangeRatesStore {
when(
() => this.assetStore.commonList.length > 0,
() => {
if (wallet.mode != 'light') {
if (wallet.mode !== 'light') {
this.updateExchangeRates();
}
},
Expand All @@ -29,7 +29,7 @@ export class ExchangeRatesStore {
when(
() => !!wallet.network?.chainId && !!wallet.mode,
() => {
if (wallet.mode != 'light') {
if (wallet.mode !== 'light') {
this.updateExchangeRates();
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/stores/NetworkStore/NetworkStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class NetworkStore {
makeAutoObservable(this);

autorun(async () => {
if (wallet.isReady() && wallet.mode != 'light') {
if (wallet.isReady() && wallet.mode !== 'light') {
this.gasPrice = await this.wallet.provider?.getGasPrice()!;
} else {
this.gasPrice = undefined;
Expand Down

0 comments on commit b6ca5cf

Please sign in to comment.