Skip to content

Commit

Permalink
chore: fix methid name
Browse files Browse the repository at this point in the history
  • Loading branch information
olgakup committed Jan 3, 2025
1 parent cdc8bb8 commit a38ed36
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/extension/src/libs/networks-state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class NetworksState {
}
}

async getEnabeledTestNetworks(): Promise<string[]> {
async getEnabledTestNetworks(): Promise<string[]> {
await this.insertNetworksWithNewFeatures();
const state: IState | undefined = await this.getState();
if (state && state.enabledTestNetworks) {
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/ui/action/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const enabledTestnetworks = ref<string[]>([]);
const setActiveNetworks = async () => {
const pinnedNetworkNames = await networksState.getPinnedNetworkNames();
const allNetworks = await getAllNetworks();
enabledTestnetworks.value = await networksState.getEnabeledTestNetworks();
enabledTestnetworks.value = await networksState.getEnabledTestNetworks();
pinnedNetworks.value = [];
pinnedNetworkNames.forEach(name => {
const network = allNetworks.find(network => network.name === name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const setNetworkLists = async () => {
const allNetworksTestNets = testNetworks
.filter(({ isTestNetwork }) => isTestNetwork)
.sort((a, b) => a.name_long.localeCompare(b.name_long));
enabledTestNetworks.value = await networksState.getEnabeledTestNetworks();
enabledTestNetworks.value = await networksState.getEnabledTestNetworks();
allTestNets.value = allNetworksTestNets;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
<div class="network-assets__header__token">
<p>Token</p>
</div>

<div>
<p>Last 24h</p>
</div>

<div class="network-assets__header__price">
<p>Value</p>
</div>
Expand Down Expand Up @@ -35,7 +33,6 @@
text-transform: uppercase;
margin: 0;
}
&__token {
width: 200px;
p {
Expand Down

0 comments on commit a38ed36

Please sign in to comment.