diff --git a/registry/SVGViewerPlugin.tsx b/registry/SVGViewerPlugin.tsx index bf45966..494ee1f 100644 --- a/registry/SVGViewerPlugin.tsx +++ b/registry/SVGViewerPlugin.tsx @@ -1,4 +1,5 @@ import React, { useEffect } from "react"; +import { Image } from "react-bootstrap"; import { PluginMetadata } from "../src/client/types"; @@ -30,7 +31,7 @@ const SVGPage: React.FC<{ dataUrl: string }> = (props) => { }); }, []); - return ; + return }; export const SVGViewerPlugin: PluginMetadata = { diff --git a/src/client/pages/Explorer.tsx b/src/client/pages/Explorer.tsx index 5e3b4fe..c5920ae 100644 --- a/src/client/pages/Explorer.tsx +++ b/src/client/pages/Explorer.tsx @@ -55,7 +55,7 @@ export default class Explorer extends Component { var viewers = PluginLoader.get().viewerList; if(item.isFile && itemFormat) { - if(Utils.formatTester(["exe", "sys", "com", "bin", "elf", "axf"], itemFormat)) { + if(Utils.formatTester(["exe", "sys", "com", "bin", "elf", "axf", "dll", "jar"], itemFormat)) { toast.error(Utils.$("toast.msg1")); return; } diff --git a/src/client/pages/PictureViewer.tsx b/src/client/pages/PictureViewer.tsx index ed17444..33cafd1 100644 --- a/src/client/pages/PictureViewer.tsx +++ b/src/client/pages/PictureViewer.tsx @@ -1,4 +1,5 @@ import { Component, Context, ReactElement } from "react"; +import { Image } from "react-bootstrap"; import { toast, Toaster } from "react-hot-toast"; import Axios from "axios"; @@ -46,7 +47,7 @@ export default class PictureViewer extends Component
- {this.path}/ +