chore: Move to prettier standard double quotes (#1309)

This commit is contained in:
Tom Moor
2020-06-20 13:59:15 -07:00
committed by GitHub
parent 2a3b9e2104
commit f43deb7940
444 changed files with 5988 additions and 5977 deletions

View File

@@ -1,8 +1,8 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import * as React from "react";
import { Table, TBody, TR, TD } from "oy-vey";
import EmptySpace from './EmptySpace';
import EmptySpace from "./EmptySpace";
type Props = {
children: React.Node,

View File

@@ -1,18 +1,18 @@
// @flow
import * as React from 'react';
import * as React from "react";
type Props = { href: string, children: React.Node };
export default (props: Props) => {
const style = {
display: 'inline-block',
padding: '10px 20px',
color: '#FFFFFF',
background: '#000000',
borderRadius: '4px',
display: "inline-block",
padding: "10px 20px",
color: "#FFFFFF",
background: "#000000",
borderRadius: "4px",
fontWeight: 500,
textDecoration: 'none',
cursor: 'pointer',
textDecoration: "none",
cursor: "pointer",
};
return (

View File

@@ -1,7 +1,7 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import theme from '../../../shared/styles/theme';
import * as React from "react";
import { Table, TBody, TR, TD } from "oy-vey";
import theme from "../../../shared/styles/theme";
type Props = {
children: React.Node,

View File

@@ -1,13 +1,13 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import * as React from "react";
import { Table, TBody, TR, TD } from "oy-vey";
const EmptySpace = ({ height }: { height?: number }) => {
height = height || 16;
const style = {
lineHeight: `${height}px`,
fontSize: '1px',
msoLineHeightRule: 'exactly',
fontSize: "1px",
msoLineHeightRule: "exactly",
};
return (
@@ -18,7 +18,7 @@ const EmptySpace = ({ height }: { height?: number }) => {
width="100%"
height={`${height}px`}
style={style}
dangerouslySetInnerHTML={{ __html: ' ' }}
dangerouslySetInnerHTML={{ __html: " " }}
/>
</TR>
</TBody>

View File

@@ -1,8 +1,8 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import { twitterUrl, spectrumUrl } from '../../../shared/utils/routeHelpers';
import theme from '../../../shared/styles/theme';
import * as React from "react";
import { Table, TBody, TR, TD } from "oy-vey";
import { twitterUrl, spectrumUrl } from "../../../shared/utils/routeHelpers";
import theme from "../../../shared/styles/theme";
type Props = {
unsubscribeUrl?: string,
@@ -10,29 +10,29 @@ type Props = {
export default ({ unsubscribeUrl }: Props) => {
const footerStyle = {
padding: '20px 0',
padding: "20px 0",
borderTop: `1px solid ${theme.smokeDark}`,
color: theme.slate,
fontSize: '14px',
fontSize: "14px",
};
const unsubStyle = {
padding: '0',
padding: "0",
color: theme.slate,
fontSize: '14px',
fontSize: "14px",
};
const linkStyle = {
color: theme.slate,
fontWeight: 500,
textDecoration: 'none',
marginRight: '10px',
textDecoration: "none",
marginRight: "10px",
};
const externalLinkStyle = {
color: theme.slate,
textDecoration: 'none',
margin: '0 10px',
textDecoration: "none",
margin: "0 10px",
};
return (

View File

@@ -1,7 +1,7 @@
// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import EmptySpace from './EmptySpace';
import * as React from "react";
import { Table, TBody, TR, TD } from "oy-vey";
import EmptySpace from "./EmptySpace";
export default () => {
return (

View File

@@ -1,9 +1,9 @@
// @flow
import * as React from 'react';
import * as React from "react";
const style = {
fontWeight: 500,
fontSize: '18px',
fontSize: "18px",
};
type Props = {