mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
fix: author page include source
This commit is contained in:
parent
90c734cc93
commit
600c373ef2
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import type { Creator } from '../types'
|
import type { Creator } from '../types'
|
||||||
import { useTranslation } from '#i18n'
|
import { useTranslation } from '#i18n'
|
||||||
import { getMarketplaceUrl } from '@/utils/var'
|
|
||||||
import { getCreatorAvatarUrl } from '../utils'
|
import { getCreatorAvatarUrl } from '../utils'
|
||||||
|
|
||||||
type CreatorCardProps = {
|
type CreatorCardProps = {
|
||||||
@ -11,7 +10,7 @@ type CreatorCardProps = {
|
|||||||
|
|
||||||
const CreatorCard = ({ creator }: CreatorCardProps) => {
|
const CreatorCard = ({ creator }: CreatorCardProps) => {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
const href = getMarketplaceUrl(`/creator/${creator.unique_handle}`)
|
const href = `/creator/${creator.unique_handle}`
|
||||||
const displayName = creator.display_name || creator.name
|
const displayName = creator.display_name || creator.name
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user