Fix typos (#10014)
This commit is contained in:
parent
79f39109ba
commit
4b84add046
@ -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',
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user