Skip to content

Commit

Permalink
lint & format
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Sep 8, 2024
1 parent ce8d0e9 commit d21a716
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/chaindata/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NetworkType } from '@/models';

import PolkadotChains from './polkadot';
import KusamaChains from './kusama';
import leases from './leases.json';
import PolkadotChains from './polkadot';
import RococoChains from './rococo';
import { BaseChainInfo, ChainDetails } from './types';
import WestendChains from './westend';
Expand Down
4 changes: 2 additions & 2 deletions src/components/Elements/Selectors/ChainSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ interface ChainSelectorProps {
import { enableRegionX } from '@/utils/functions';

import {
Polkadot,
PolkadotCoretime,
Kusama,
KusamaCoretime,
Polkadot,
PolkadotCoretime,
RegionX,
Rococo,
RococoCoretime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import Image from 'next/image';
import { useRouter } from 'next/router';

import {
Polkadot as PolkadotIcon,
Kusama as KusamaIcon,
Polkadot as PolkadotIcon,
Rococo as RococoIcon,
} from '@/assets/networks/relay';
import { useNetwork } from '@/contexts/network';
Expand Down
7 changes: 6 additions & 1 deletion src/contexts/apis/RelayApi/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import React, { useContext, useEffect, useReducer, useState } from 'react';

import { parseHNString } from '@/utils/functions';

import { WS_KUSAMA_RELAY_CHAIN, WS_POLKADOT_RELAY_CHAIN, WS_ROCOCO_RELAY_CHAIN, WS_WESTEND_RELAY_CHAIN } from '@/consts';
import {
WS_KUSAMA_RELAY_CHAIN,
WS_POLKADOT_RELAY_CHAIN,
WS_ROCOCO_RELAY_CHAIN,
WS_WESTEND_RELAY_CHAIN,
} from '@/consts';
import { ApiState } from '@/contexts/apis/types';
import { useNetwork } from '@/contexts/network';
import { useToast } from '@/contexts/toast';
Expand Down

0 comments on commit d21a716

Please sign in to comment.