chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { inject } from 'mobx-react';
|
||||
import ViewsStore from 'stores/ViewsStore';
|
||||
import Document from 'models/Document';
|
||||
import PublishingInfo from 'components/PublishingInfo';
|
||||
import * as React from "react";
|
||||
import styled from "styled-components";
|
||||
import { inject } from "mobx-react";
|
||||
import ViewsStore from "stores/ViewsStore";
|
||||
import Document from "models/Document";
|
||||
import PublishingInfo from "components/PublishingInfo";
|
||||
|
||||
type Props = {|
|
||||
views: ViewsStore,
|
||||
@@ -19,8 +19,8 @@ function DocumentMeta({ views, isDraft, document }: Props) {
|
||||
<Meta document={document}>
|
||||
{totalViews && !isDraft ? (
|
||||
<React.Fragment>
|
||||
· Viewed{' '}
|
||||
{totalViews === 1 ? 'once' : `${totalViews} times`}
|
||||
· Viewed{" "}
|
||||
{totalViews === 1 ? "once" : `${totalViews} times`}
|
||||
</React.Fragment>
|
||||
) : null}
|
||||
</Meta>
|
||||
@@ -36,4 +36,4 @@ const Meta = styled(PublishingInfo)`
|
||||
}
|
||||
`;
|
||||
|
||||
export default inject('views')(DocumentMeta);
|
||||
export default inject("views")(DocumentMeta);
|
||||
|
||||
Reference in New Issue
Block a user