Skip to content

Commit

Permalink
refactor: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CalicoNino committed Nov 10, 2023
1 parent 7aec5d7 commit 2e5fcd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/nibiru/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ export const getNetwork = async (
export const getNibiruChains = async (): Promise<{
[key: string]: LocalConfig;
}> => {
const [playnets, devnets, itn, main] = await Promise.all([
undefined, //getPlaynets(),
undefined, //getDevnets(),
const [itn, main] = await Promise.all([
getNetwork(ITN_NETWORKS),
getNetwork(MAIN_NETWORK),
]);
const chains = (main ?? []).concat(itn ?? [], playnets ?? [], devnets ?? []);
const chains = (main ?? []).concat(itn ?? []);
const chainsObj: { [key: string]: LocalConfig } = {};
chains.forEach((chain) => {
chainsObj[chain.chain_name] = chain;
Expand Down
2 changes: 1 addition & 1 deletion src/stores/useDashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const useDashboard = defineStore('dashboard', {
state: () => {
const favMap = JSON.parse(
localStorage.getItem('favoriteMap') ??
'{"cosmos":true,"osmosis":true,"nibiru":true,"nibiru-itn-3":true,"cataclysm-1":true,"nibiru-testnet-1":true}'
'{"nibiru":true,"nibiru-itn-3":true,"cataclysm-1":true,"nibiru-testnet-1":true}'
);
return {
status: LoadingStatus.Empty,
Expand Down

0 comments on commit 2e5fcd5

Please sign in to comment.