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