Skip to content

Commit

Permalink
fix: correctly import marked (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
fspoettel authored Apr 9, 2022
1 parent a91a0d0 commit 28f0e6d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/atoms/Md.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import PropTypes from "prop-types";
import marked from "marked";
import { marked } from "marked";

class Md extends React.Component {
constructor(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/atoms/Media.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import marked from "marked";
import { marked } from "marked";
import Content from "./Content";
import Controls from "./Controls";
import { selectTypeFromPathWithPoster } from "../../common/utilities";
Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/CategoriesListPanel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import marked from "marked";
import { marked } from "marked";
import PanelTree from "./atoms/PanelTree";
import { ASSOCIATION_MODES } from "../../common/constants";

Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/FilterListPanel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import Checkbox from "../atoms/Checkbox";
import marked from "marked";
import { marked } from "marked";
import {
aggregateFilterPaths,
getFilterIdxFromColorSet,
Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/ShapesListPanel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import marked from "marked";
import { marked } from "marked";
import PanelTree from "./atoms/PanelTree";
import { mapStyleByShape } from "../../common/utilities";
import { SHAPE } from "../../common/constants";
Expand Down
2 changes: 1 addition & 1 deletion src/components/controls/atoms/CustomField.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import marked from "marked";
import { marked } from "marked";

// TODO could this be a security vulnerability?
const CardCustomField = ({ title, value }) => (
Expand Down

0 comments on commit 28f0e6d

Please sign in to comment.