From 0a2fd25fa20aaf696a4e736289bfb1f6fc88c62f Mon Sep 17 00:00:00 2001 From: Prozilla Date: Sat, 29 Jul 2023 18:07:37 +0200 Subject: [PATCH] Updated no file message for media viewer --- src/components/applications/media-viewer/MediaViewer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/applications/media-viewer/MediaViewer.jsx b/src/components/applications/media-viewer/MediaViewer.jsx index bc87ab2..a37f6b0 100644 --- a/src/components/applications/media-viewer/MediaViewer.jsx +++ b/src/components/applications/media-viewer/MediaViewer.jsx @@ -10,7 +10,7 @@ import styles from "./MediaViewer.module.css"; */ export function MediaViewer({ file }) { if (file == null) - return (

No file to render.

); + return (

Use the File Explorer to open an image.

); if (!["png"].includes(file.extension)) return (

Invalid file format.

);