This commit is contained in:
shuoer86 2023-12-12 13:41:39 +08:00 committed by GitHub
parent 79f39109ba
commit 4b84add046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@ export const prodParasPolkadot: Omit<EndpointOption, 'teleport'>[] = [
// 1. The chain is migrated away from the parachain with all balances
// 2. There is a forked relay-involved which we don't support
//
// Additional details in orginal removal at
// Additional details in original removal at
// https://github.com/polkadot-js/apps/pull/9555/files#r1225095086
},
text: 'Efinity',

View File

@ -101,7 +101,7 @@ function Latency ({ className }: Props): React.ReactElement<Props> {
useEffect((): void => {
// HACK try and render the charts in order - this _may_ work around the
// crosshair plugin init issues, but at best it is non-reproducable
// crosshair plugin init issues, but at best it is non-reproducible
if (isLoaded) {
const index = shouldRender.findIndex((v) => !v);

View File

@ -23,7 +23,7 @@ const NOMINATORS_OPT = {
};
// A list of all validators that any of our accounts nominate
// (deduped accross accounts)
// (deduped across accounts)
function useNominatorsImpl (): string[] | null | undefined {
const { api } = useApi();
const { allAccounts } = useAccounts();

View File

@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/app-society authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Adapted (wih permission) from https://www.w3schools.com/code/tryit.asp?filename=GGIGKE2GG7N1
// Adapted (with permission) from https://www.w3schools.com/code/tryit.asp?filename=GGIGKE2GG7N1
import type { AccountId } from '@polkadot/types/interfaces';

View File

@ -9,7 +9,7 @@ import { formatBalance } from '@polkadot/util';
import { balanceOf } from '../creation/balance.js';
/**
* Creates a balance instance for testing purposes which most often do not need to specifiy/use decimal part.
* Creates a balance instance for testing purposes which most often do not need to specify/use decimal part.
* @param amountInt Integer part of the balance number
* @param decimalsString Decimals part of the balance number. Note! This is a string sequence just after '.' separator
* that is the point that separates integers from decimals. E.g. (100, 4567) => 100.45670000...00