Fix translation block not clickable when inside a status link

This commit is contained in:
Lim Chee Aun 2023-03-21 20:48:26 +08:00
parent a79d26ae90
commit b4177f0f76

View file

@ -87,7 +87,12 @@ function TranslationBlock({
}, [forceTranslate]); }, [forceTranslate]);
return ( return (
<div class="status-translation-block"> <div
class="status-translation-block"
onClick={(e) => {
e.preventDefault();
}}
>
<details ref={detailsRef}> <details ref={detailsRef}>
<summary> <summary>
<button <button