mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
098f34f400
commit
db0379030e
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
<script lang="ts">
|
||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||
import type { Token } from 'marked';
|
||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||
|
||||
export let token: Token;
|
||||
</script>
|
||||
|
||||
<Tooltip as="span" className="mention" content={token.id} placement="top">
|
||||
{token.triggerChar}{token.label}
|
||||
{token?.triggerChar ?? '@'}{token?.label ?? token?.id}
|
||||
</Tooltip>
|
||||
|
|
|
|||
Loading…
Reference in a new issue