Fix custom color handling (#1929)

This commit is contained in:
maniarathi
2020-10-13 15:47:56 -07:00
committed by GitHub
parent 5325495123
commit 798976e4c1
2 changed files with 8 additions and 9 deletions
@@ -168,12 +168,7 @@ const renderLinks = (projectLinks, aboutURL) => {
};
const InfoFormat = React.memo(
({
datasetTitle,
singleValueCategories,
aboutURL,
dataPortalProps = {},
}) => {
({ datasetTitle, singleValueCategories, aboutURL, dataPortalProps = {} }) => {
if (dataPortalProps.version?.["corpora_schema_version"] !== "1.0.0") {
dataPortalProps = {};
}