Skip to content

Commit

Permalink
removing export default
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefdroth committed Feb 24, 2020
1 parent d68d73c commit 73eb1e3
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { HashLink } from "react-router-hash-link";
import { scrollTo } from "~/utils/utils";
import MetadataSection from "./MetadataSection";
import { MetadataSection } from "./MetadataSection";
import { ConcentrationDataTable } from "./ConcentrationDataTable";

import "../BiochemicalEntityDetails.scss";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,5 +413,4 @@ class MetadataSection extends Component {
);
}
}
export default MetadataSection;
export { MetadataSection, formatMetadata };
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,4 @@ class MetadataSection extends Component {
);
}
}

export default MetadataSection;
export { MetadataSection, formatMetadata };
2 changes: 1 addition & 1 deletion src/scenes/BiochemicalEntityDetails/Protein/Protein.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { HashLink } from "react-router-hash-link";
import { scrollTo } from "~/utils/utils";
import MetadataSection from "./MetadataSection";
import { MetadataSection } from "./MetadataSection";
import { AbundanceDataTable } from "./AbundanceDataTable";

import "../BiochemicalEntityDetails.scss";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,4 @@ class MetadataSection extends Component {
}
}

export default withRouter(MetadataSection);
export { formatMetadata, MetadataSection };
2 changes: 1 addition & 1 deletion src/scenes/BiochemicalEntityDetails/Reaction/Reaction.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { HashLink } from "react-router-hash-link";
import { scrollTo } from "~/utils/utils";
import MetadataSection from "./MetadataSection";
import { MetadataSection } from "./MetadataSection";
import { RateConstantsDataTable } from "./RateConstantsDataTable";

import "../BiochemicalEntityDetails.scss";
Expand Down
3 changes: 1 addition & 2 deletions src/scenes/BiochemicalEntityDetails/Rna/MetadataSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,4 @@ class MetadataSection extends Component {
}
}

export default withRouter(MetadataSection);
export { formatMetadata };
export { MetadataSection, formatMetadata };
2 changes: 1 addition & 1 deletion src/scenes/BiochemicalEntityDetails/Rna/Rna.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from "react";
import { HashLink } from "react-router-hash-link";
import { scrollTo } from "~/utils/utils";
import MetadataSection from "./MetadataSection";
import { MetadataSection } from "./MetadataSection";
import { HalfLifeDataTable } from "./HalfLifeDataTable";

import "../BiochemicalEntityDetails.scss";
Expand Down

0 comments on commit 73eb1e3

Please sign in to comment.