diff --git a/web/app/components/base/emoji-picker/Inner.tsx b/web/app/components/base/emoji-picker/Inner.tsx index 6fc4b6718..6c747c158 100644 --- a/web/app/components/base/emoji-picker/Inner.tsx +++ b/web/app/components/base/emoji-picker/Inner.tsx @@ -149,7 +149,8 @@ const EmojiPickerInner: FC = ({ {/* Color Select */}

Choose Style

- {showStyleColors ? setShowStyleColors(!showStyleColors)} /> : setShowStyleColors(!showStyleColors)} />} + {showStyleColors ? setShowStyleColors(!showStyleColors)} /> + : setShowStyleColors(!showStyleColors)} />}
{showStyleColors &&
{backgroundColors.map((color) => { diff --git a/web/app/components/plugins/marketplace/empty/index.tsx b/web/app/components/plugins/marketplace/empty/index.tsx index 441b1002d..0306d5003 100644 --- a/web/app/components/plugins/marketplace/empty/index.tsx +++ b/web/app/components/plugins/marketplace/empty/index.tsx @@ -46,7 +46,7 @@ const Empty = ({ }
- + diff --git a/web/app/components/tools/add-tool-modal/empty.tsx b/web/app/components/tools/add-tool-modal/empty.tsx index 7390249dc..5759589c8 100644 --- a/web/app/components/tools/add-tool-modal/empty.tsx +++ b/web/app/components/tools/add-tool-modal/empty.tsx @@ -5,6 +5,7 @@ import { RiArrowRightUpLine } from '@remixicon/react' import Link from 'next/link' import cn from '@/utils/classnames' import { NoToolPlaceholder } from '../../base/icons/src/vender/other' +import useTheme from '@/hooks/use-theme' type Props = { type?: ToolTypeEnum isAgent?: boolean @@ -25,6 +26,7 @@ const Empty = ({ isAgent, }: Props) => { const { t } = useTranslation() + const { theme } = useTheme() const hasLink = type && [ToolTypeEnum.Custom, ToolTypeEnum.MCP].includes(type) const Comp = (hasLink ? Link : 'div') as any @@ -34,7 +36,7 @@ const Empty = ({ return (
- +
{hasTitle ? t(`tools.addToolModal.${renderType}.title`) : 'No tools available'}