From 35db0889face411e7a4c04b8483495f85475800d Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Fri, 29 Jul 2022 14:59:25 +0200 Subject: [PATCH] unscrupelous to unscrupulous (#7935) --- .../apps/public/locales/en/app-alliance.json | 2 +- packages/page-alliance/src/Overview/Join.tsx | 6 +++--- packages/page-alliance/src/Overview/index.tsx | 12 ++++++------ .../{Unscrupelous => Unscrupulous}/Account.tsx | 0 .../{Unscrupelous => Unscrupulous}/Website.tsx | 0 .../src/{Unscrupelous => Unscrupulous}/index.tsx | 16 ++++++++-------- packages/page-alliance/src/index.tsx | 16 ++++++++-------- packages/page-alliance/src/types.ts | 2 +- .../{useUnscrupelous.ts => useUnscrupulous.ts} | 6 +++--- 9 files changed, 30 insertions(+), 30 deletions(-) rename packages/page-alliance/src/{Unscrupelous => Unscrupulous}/Account.tsx (100%) rename packages/page-alliance/src/{Unscrupelous => Unscrupulous}/Website.tsx (100%) rename packages/page-alliance/src/{Unscrupelous => Unscrupulous}/index.tsx (68%) rename packages/page-alliance/src/{useUnscrupelous.ts => useUnscrupulous.ts} (85%) diff --git a/packages/apps/public/locales/en/app-alliance.json b/packages/apps/public/locales/en/app-alliance.json index 779b3e1926..1e225803f2 100644 --- a/packages/apps/public/locales/en/app-alliance.json +++ b/packages/apps/public/locales/en/app-alliance.json @@ -16,7 +16,7 @@ "The bond will be reserved for the duration of your alliance membership.": "The bond will be reserved for the duration of your alliance membership.", "The deposit that is reserved": "The deposit that is reserved", "This account will be submitted to join the aliance. It will be allocated one of the alliance roles upon joining, starting with Ally.": "This account will be submitted to join the aliance. It will be allocated one of the alliance roles upon joining, starting with Ally.", - "Unscrupelous": "Unscrupelous", + "Unscrupulous": "Unscrupulous", "Up for kicking": "Up for kicking", "accounts": "accounts", "alliance account": "alliance account", diff --git a/packages/page-alliance/src/Overview/Join.tsx b/packages/page-alliance/src/Overview/Join.tsx index c10db789fc..60085778c3 100644 --- a/packages/page-alliance/src/Overview/Join.tsx +++ b/packages/page-alliance/src/Overview/Join.tsx @@ -1,7 +1,7 @@ // Copyright 2017-2022 @polkadot/app-alliance authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Member, Unscrupelous } from '../types'; +import type { Member, Unscrupulous } from '../types'; import React, { useMemo, useState } from 'react'; @@ -14,10 +14,10 @@ interface Props { className?: string; members: Member[]; onClose: () => void; - unscrupelous: Unscrupelous; + unscrupulous: Unscrupulous; } -function Join ({ className, members, onClose, unscrupelous: { accounts } }: Props): React.ReactElement { +function Join ({ className, members, onClose, unscrupulous: { accounts } }: Props): React.ReactElement { const { t } = useTranslation(); const { api } = useApi(); const { allAccounts } = useAccounts(); diff --git a/packages/page-alliance/src/Overview/index.tsx b/packages/page-alliance/src/Overview/index.tsx index d0308c026c..8bc9535edf 100644 --- a/packages/page-alliance/src/Overview/index.tsx +++ b/packages/page-alliance/src/Overview/index.tsx @@ -1,7 +1,7 @@ // Copyright 2017-2022 @polkadot/app-alliance authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Member as MemberType, Rule, Unscrupelous } from '../types'; +import type { Member as MemberType, Rule, Unscrupulous } from '../types'; import React from 'react'; @@ -19,11 +19,11 @@ interface Props { members?: MemberType[]; prime?: string | null; rule?: Rule; - unscrupelous?: Unscrupelous; + unscrupulous?: Unscrupulous; voters?: string[]; } -function Overview ({ className, members, prime, rule, unscrupelous, voters }: Props): React.ReactElement { +function Overview ({ className, members, prime, rule, unscrupulous, voters }: Props): React.ReactElement { const { t } = useTranslation(); const [isJoinOpen, toggleJoin] = useToggle(); @@ -36,15 +36,15 @@ function Overview ({ className, members, prime, rule, unscrupelous, voters }: Pr