diff --git a/__tests__/e2e/startup.test.js b/__tests__/e2e/startup.test.js index d4a3de0..803ac51 100644 --- a/__tests__/e2e/startup.test.js +++ b/__tests__/e2e/startup.test.js @@ -2,7 +2,7 @@ import { getApp } from '../setup/utils'; -describe('ZCash', () => { +describe('Zcash', () => { const app = getApp(); beforeEach(() => app.start()); @@ -11,7 +11,8 @@ describe('ZCash', () => { }); test('should open the window', () => { - app.client.getWindowCount() + app.client + .getWindowCount() .then((count: number) => expect(count).toEqual(1)); }); }); diff --git a/app/components/header.js b/app/components/header.js index 6b67bd1..4e3589a 100644 --- a/app/components/header.js +++ b/app/components/header.js @@ -3,7 +3,7 @@ import React from 'react'; import styled from 'styled-components'; -import { ZCashLogo } from './zcash-logo'; +import { ZcashLogo } from './zcash-logo'; import { TextComponent } from './text'; const Wrapper = styled.div` @@ -58,7 +58,7 @@ type Props = { export const HeaderComponent = ({ title }: Props) => ( - + diff --git a/app/components/input.mdx b/app/components/input.mdx index 5111f62..985c806 100644 --- a/app/components/input.mdx +++ b/app/components/input.mdx @@ -14,13 +14,22 @@ import { DoczWrapper } from '../theme.js' ## Text Input <Playground> - <DoczWrapper>{() => <InputComponent inputType="input" value="Hello World!" onChange={console.log} />}</DoczWrapper> + <DoczWrapper> + {() => <InputComponent inputType="input" value="Hello World!" onChange={console.log} />} + </DoczWrapper> </Playground> ## Textarea <Playground> <DoczWrapper> - {() => <InputComponent inputType="textarea" value="I'm ZCash Electron Wallet" onChange={console.log} rows={10} />} + {() => ( + <InputComponent + inputType="textarea" + value="I'm Zcash Electron Wallet" + onChange={console.log} + rows={10} + /> + )} </DoczWrapper> </Playground> diff --git a/app/components/zcash-logo.js b/app/components/zcash-logo.js index d41b5d7..32ed582 100644 --- a/app/components/zcash-logo.js +++ b/app/components/zcash-logo.js @@ -1,7 +1,7 @@ // @flow import React from 'react'; -export const ZCashLogo = () => ( +export const ZcashLogo = () => ( <svg xmlns='http://www.w3.org/2000/svg' viewBox='-75 -10 175 175'> <defs> <style>{'.a{ fill:#040508; }'}</style> diff --git a/config/daemon/logger.js b/config/daemon/logger.js index d5da6d2..4806e3f 100644 --- a/config/daemon/logger.js +++ b/config/daemon/logger.js @@ -1,4 +1,4 @@ // @flow /* eslint-disable-next-line no-console */ -export default (...message: Array<*>) => console.log('[ZCash Daemon]', ...message); +export default (...message: Array<*>) => console.log('[Zcash Daemon]', ...message); diff --git a/config/electron.js b/config/electron.js index 5f5816c..14c3755 100644 --- a/config/electron.js +++ b/config/electron.js @@ -85,7 +85,7 @@ app.on('ready', async () => { if (err || !proc) return zcashLog(err); /* eslint-disable-next-line */ - zcashLog(`ZCash Daemon running. PID: ${proc.pid}`); + zcashLog(`Zcash Daemon running. PID: ${proc.pid}`); zcashDaemon = proc; }); @@ -97,7 +97,7 @@ app.on('window-all-closed', () => { }); app.on('before-quit', () => { if (zcashDaemon) { - zcashLog('Graceful shutdown ZCash Daemon, this may take a few seconds.'); + zcashLog('Graceful shutdown Zcash Daemon, this may take a few seconds.'); zcashDaemon.kill('SIGINT'); } });