mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Shazam the mini translation block
This commit is contained in:
parent
871fe11d0f
commit
6fe182a7a3
1 changed files with 16 additions and 12 deletions
|
@ -111,6 +111,8 @@ function TranslationBlock({
|
|||
detectedLang !== targetLangText
|
||||
) {
|
||||
return (
|
||||
<div class="shazam-container">
|
||||
<div class="shazam-container-inner">
|
||||
<div class="status-translation-block-mini">
|
||||
<Icon
|
||||
icon="translate"
|
||||
|
@ -124,6 +126,8 @@ function TranslationBlock({
|
|||
{translatedContent}
|
||||
</output>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue