enzostvs's picture
enzostvs HF Staff
add translation shot
13c9aca
raw
history blame
270 Bytes
<script lang="ts">
export let body: Record<string, any>;
export let res: Record<string, any>;
console.log(body)
</script>
<div class="text-white p-6 font-code text-xs !leading-loose">
{#if res?.[0]?.translation_text}
{res[0]?.translation_text}
{/if}
</div>