From a205d05f1017396c53c61fffd2059916dc09a784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Mon, 19 Oct 2026 16:38:40 +0200 Subject: [PATCH] simplify a few things --- client/homebrew/editor/metadataEditor/metadataEditor.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.jsx b/client/homebrew/editor/metadataEditor/metadataEditor.jsx index 50c1f9f0b..d713c1cc9 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.jsx +++ b/client/homebrew/editor/metadataEditor/metadataEditor.jsx @@ -36,7 +36,6 @@ const MetadataEditor = ({ reportError = ()=>{}, ...props })=>{ - const [isOwner, setIsOwner] = useState(global.account?.username && global.account?.username === metadata?.authors[0]); const [showThumbnail, setShowThumbnail] = useState(true); const toggleThumbnailDisplay = ()=>{ @@ -156,6 +155,7 @@ const MetadataEditor = ({ }; const renderAuthors = ()=>{ const authors = metadata.authors; + const isOwner = global.account?.username && global.account?.username === authors[0]; if(!isOwner || authors.length < 2) return (
@@ -225,7 +225,6 @@ const MetadataEditor = ({ }; const currentRenderer = metadata.renderer; - console.log(props); const currentThemeDisplay = props.themeBundle?.name ? `${props.themeBundle.author ?? currentRenderer} : ${props.themeBundle.name}` : 'No Theme Selected'; let dropdown;