formatting: PR changes

This commit is contained in:
William Felker 2020-09-14 08:20:29 +08:00
parent d8834de05e
commit a4ca447bb5
3 changed files with 9 additions and 16 deletions

View File

@ -175,14 +175,13 @@ export default class ApplicationUserControls extends React.Component {
onClick: () =>
this._handleAction({
type: "NAVIGATE",
value: "V1_NAVIGATION_PROFILE_EDIT",
}),
value: "V1_NAVIGATION_PROFILE_EDIT"
})
},
{ text: "Sign out", onClick: this._handleSignOut },
{ text: "Sign out", onClick: this._handleSignOut }
]}
/>
</div>
</Boundary>
}
>

View File

@ -1,17 +1,9 @@
import * as React from "react";
import * as Constants from "~/common/constants";
import * as System from "~/components/system";
import { css } from "@emotion/react";
const STYLES_ISSUE_CARD_GROUP = css`
display: flex;
flex-wrap: wrap;
width: 100%;
margin-top: 48px;
`;
const STYLES_ISSUE_CARD = css`
width: 33.33%;
height: calc(100vh / 4);
@ -77,12 +69,15 @@ const STYLES_ISSUE_CARD_PARAGRAPH = css`
export default class Issue extends React.Component {
render() {
const { title, id, url } = this.props;
return (
<div css={STYLES_ISSUE_CARD}>
<a css={STYLES_ISSUE_CARD_PARAGRAPH} href={url} target="_blank">
<a
css={STYLES_ISSUE_CARD_PARAGRAPH}
href={this.props.url}
target="_blank"
>
<div css={STYLES_ISSUE_CARD_TEXT}>
<div css={STYLES_ISSUE_CARD_TITLE}>{title}</div>
<div css={STYLES_ISSUE_CARD_TITLE}>{this.props / title}</div>
<div css={STYLES_ISSUE_CARD_EXPLAINER}>
<div>View Issue</div>
<div>-&gt;</div>

View File

@ -1,5 +1,4 @@
import * as React from "react";
import * as Constants from "~/common/constants";
import { css, keyframes } from "@emotion/react";