diff --git a/src/pages/viewer/components/ModalContextProvider.jsx b/src/pages/viewer/components/ModalContextProvider.jsx index fdc874f..33a2915 100644 --- a/src/pages/viewer/components/ModalContextProvider.jsx +++ b/src/pages/viewer/components/ModalContextProvider.jsx @@ -1,6 +1,6 @@ import React, { useCallback } from "react"; import { ModalContext } from "../contexts"; -import { Modal } from "react-bulma-components"; +import { Content, Modal } from "react-bulma-components"; import parse from 'html-react-parser'; @@ -20,7 +20,9 @@ export default function ModalContextProvider({ children }) { {node && node.name} - {node && parse(node.description)} + + {node && parse(node.description)} + diff --git a/src/pages/viewer/index.jsx b/src/pages/viewer/index.jsx index 67a6e1a..cea1193 100644 --- a/src/pages/viewer/index.jsx +++ b/src/pages/viewer/index.jsx @@ -60,9 +60,7 @@ const TABS = { label: 'Beskrivelse', render: (map) => ( - - {parse(map.data.description)} - + {parse(map.data.description)} ) }