diff --git a/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/ContentConfigForm.tsx b/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/ContentConfigForm.tsx index ad1d786df4..99c0d928a0 100644 --- a/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/ContentConfigForm.tsx +++ b/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/ContentConfigForm.tsx @@ -59,7 +59,7 @@ export const ContentConfigForm = ({ variableOptions }) => { useTypedConstant: ['string'], }, description: tval( - "Support two types of links in nocobase: internal links and external links. If using an internal link, the link starts with '/', for example, '/admin/page'. If using an external link, the link starts with 'http', for example, 'https://example.com'.", + 'Support two types of links: internal links and external links. If using an internal link, the link starts with"/", for example, "/admin". If using an external link, the link starts with "http", for example, "https://example.com".', ), }, }, diff --git a/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/Inbox.tsx b/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/Inbox.tsx index 75c2e042d5..7d8004dc90 100644 --- a/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/Inbox.tsx +++ b/packages/plugins/@nocobase/plugin-notification-in-app-message/src/client/components/Inbox.tsx @@ -16,7 +16,7 @@ * For more information, please rwefer to: https://www.nocobase.com/agreement. */ -import React, { useEffect, useCallback, useContext } from 'react'; +import React, { useEffect, useCallback } from 'react'; import { Badge, Button, ConfigProvider, Drawer, Tooltip } from 'antd'; import { CloseOutlined } from '@ant-design/icons'; import { createStyles } from 'antd-style'; @@ -76,9 +76,15 @@ const InnerInbox = (props) => { }} > -