chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import Button from './Button';
|
||||
import { signin } from '../../../shared/utils/routeHelpers';
|
||||
import Flex from '../../../shared/components/Flex';
|
||||
import Notice from '../../../shared/components/Notice';
|
||||
import GoogleLogo from '../../../shared/components/GoogleLogo';
|
||||
import SlackLogo from '../../../shared/components/SlackLogo';
|
||||
import breakpoint from 'styled-components-breakpoint';
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import Button from "./Button";
|
||||
import { signin } from "../../../shared/utils/routeHelpers";
|
||||
import Flex from "../../../shared/components/Flex";
|
||||
import Notice from "../../../shared/components/Notice";
|
||||
import GoogleLogo from "../../../shared/components/GoogleLogo";
|
||||
import SlackLogo from "../../../shared/components/SlackLogo";
|
||||
import breakpoint from "styled-components-breakpoint";
|
||||
|
||||
type Props = {
|
||||
lastSignedIn?: string,
|
||||
@ -33,24 +33,24 @@ const SigninButtons = ({
|
||||
)}
|
||||
{slackSigninEnabled && (
|
||||
<Column column>
|
||||
<Button href={signin('slack')}>
|
||||
<Button href={signin("slack")}>
|
||||
<SlackLogo />
|
||||
<Spacer>Sign In with Slack</Spacer>
|
||||
</Button>
|
||||
<LastLogin>
|
||||
{lastSignedIn === 'slack' && 'You signed in with Slack previously'}
|
||||
{lastSignedIn === "slack" && "You signed in with Slack previously"}
|
||||
</LastLogin>
|
||||
</Column>
|
||||
)}
|
||||
{googleSigninEnabled && (
|
||||
<Column column>
|
||||
<Button href={signin('google')}>
|
||||
<Button href={signin("google")}>
|
||||
<GoogleLogo />
|
||||
<Spacer>Sign In with Google</Spacer>
|
||||
</Button>
|
||||
<LastLogin>
|
||||
{lastSignedIn === 'google' &&
|
||||
'You signed in with Google previously'}
|
||||
{lastSignedIn === "google" &&
|
||||
"You signed in with Google previously"}
|
||||
</LastLogin>
|
||||
</Column>
|
||||
)}
|
||||
@ -61,7 +61,7 @@ const SigninButtons = ({
|
||||
const Column = styled(Flex)`
|
||||
text-align: center;
|
||||
|
||||
${breakpoint('tablet')`
|
||||
${breakpoint("tablet")`
|
||||
&:first-child {
|
||||
margin-right: 8px;
|
||||
}
|
||||
@ -73,7 +73,7 @@ const Wrapper = styled(Flex)`
|
||||
justify-content: center;
|
||||
margin-top: 16px;
|
||||
|
||||
${breakpoint('tablet')`
|
||||
${breakpoint("tablet")`
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-top: 0;
|
||||
|
Reference in New Issue
Block a user