diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-06 13:32:56 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-06 13:32:56 +0530 |
commit | dee9ccf7b1dc7d5122907b9beea8442db2472d59 (patch) | |
tree | 3cfd8a6d704a99ff759bde4b9f35460bf1fc0fff /src | |
parent | f45e5615cc43f3ddfb527099049e723408376057 (diff) |
auto format
Diffstat (limited to 'src')
-rw-r--r-- | src/webex/i18n.tsx | 8 | ||||
-rw-r--r-- | src/webex/wxBackend.ts | 14 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/webex/i18n.tsx b/src/webex/i18n.tsx index 2e753e441..a156cf834 100644 --- a/src/webex/i18n.tsx +++ b/src/webex/i18n.tsx @@ -226,8 +226,8 @@ export class TranslatePlural extends React.Component< typeof childArray[i] === "string" && typeof childArray[i + 1] === "string" ) { - childArray[i + i] = ((childArray[i] as string) + - childArray[i + 1]) as string; + childArray[i + i] = + ((childArray[i] as string) + childArray[i + 1]) as string; childArray.splice(i, 1); } } @@ -267,8 +267,8 @@ export class TranslateSingular extends React.Component< typeof childArray[i] === "string" && typeof childArray[i + 1] === "string" ) { - childArray[i + i] = ((childArray[i] as string) + - childArray[i + 1]) as string; + childArray[i + i] = + ((childArray[i] as string) + childArray[i + 1]) as string; childArray.splice(i, 1); } } diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index dd0b91683..4c9a76556 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -57,12 +57,14 @@ async function handleMessage( function assertNotFound(t: never): never { console.error(`Request type ${t as string} unknown`); console.error(`Request detail was ${detail}`); - return { - error: { - message: `request type ${t as string} unknown`, - requestType: type, - }, - } as never; + return ( + { + error: { + message: `request type ${t as string} unknown`, + requestType: type, + }, + } as never + ); } function needsWallet(): Wallet { if (!currentWallet) { |