From 4b8f2d1b1f7f812236c6d87165076178ea6ef8c7 Mon Sep 17 00:00:00 2001 From: pranav agarwal Date: Wed, 1 Apr 2020 23:22:49 +0530 Subject: [PATCH] Update: updated import (fixes #32) --- src/pages/Releases/ReleasesPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Releases/ReleasesPage.js b/src/pages/Releases/ReleasesPage.js index 8ebb4ae..415f95c 100644 --- a/src/pages/Releases/ReleasesPage.js +++ b/src/pages/Releases/ReleasesPage.js @@ -1,6 +1,5 @@ import React, { useState } from "react"; import PropTypes from "prop-types"; -import marked from "marked/lib/marked"; import { withStyles } from "@material-ui/core/styles/index"; import DOMPurify from "dompurify"; import classNames from "classnames"; @@ -19,6 +18,8 @@ import Header from "../../components/Header/Header"; import { isLatestRelease } from "../../helpers/releasesInfo"; import { useReleasesURL } from "../../providers/releases/ReleasesURLProvider"; +const marked = require('marked/lib/marked'); + const styles = (theme) => ({ container: { marginTop: theme.spacing(9)