diff --git a/components/PluginDetail.tsx b/components/PluginDetail.tsx index e773584..1498a04 100644 --- a/components/PluginDetail.tsx +++ b/components/PluginDetail.tsx @@ -11,7 +11,7 @@ import ModList from "./ModList"; import CellList from "./CellList"; import type { CellCoord } from "./ModData"; import PluginData, { Plugin as PluginProps } from "./PluginData"; -import styles from "../styles/PluginData.module.css"; +import styles from "../styles/PluginDetail.module.css"; import { jsonFetcher } from "../lib/api"; const buildPluginProps = ( @@ -79,6 +79,11 @@ const PluginDetail: React.FC = ({ hash, counts }) => { <> {data && } + {plugin?.parseError && ( +
+ {`Error parsing plugin: ${plugin.parseError}`} +
+ )}