chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import { observer, inject } from 'mobx-react';
|
||||
import { withRouter, type Location } from 'react-router-dom';
|
||||
import Fade from 'components/Fade';
|
||||
import Tabs from 'components/Tabs';
|
||||
import Tab from 'components/Tab';
|
||||
import DocumentsStore from 'stores/DocumentsStore';
|
||||
import CollectionsStore from 'stores/CollectionsStore';
|
||||
import Document from 'models/Document';
|
||||
import ReferenceListItem from './ReferenceListItem';
|
||||
import * as React from "react";
|
||||
import { observer, inject } from "mobx-react";
|
||||
import { withRouter, type Location } from "react-router-dom";
|
||||
import Fade from "components/Fade";
|
||||
import Tabs from "components/Tabs";
|
||||
import Tab from "components/Tab";
|
||||
import DocumentsStore from "stores/DocumentsStore";
|
||||
import CollectionsStore from "stores/CollectionsStore";
|
||||
import Document from "models/Document";
|
||||
import ReferenceListItem from "./ReferenceListItem";
|
||||
|
||||
type Props = {
|
||||
document: Document,
|
||||
@@ -34,7 +34,7 @@ class References extends React.Component<Props> {
|
||||
const showBacklinks = !!backlinks.length;
|
||||
const showChildren = !!children.length;
|
||||
const isBacklinksTab =
|
||||
this.props.location.hash === '#backlinks' || !showChildren;
|
||||
this.props.location.hash === "#backlinks" || !showChildren;
|
||||
|
||||
return (
|
||||
(showBacklinks || showChildren) && (
|
||||
@@ -80,4 +80,4 @@ class References extends React.Component<Props> {
|
||||
}
|
||||
}
|
||||
|
||||
export default withRouter(inject('documents', 'collections')(References));
|
||||
export default withRouter(inject("documents", "collections")(References));
|
||||
|
||||
Reference in New Issue
Block a user