Feat: Replace the link of the old version of the agent module #3221 (#9130)

### What problem does this PR solve?
Feat: Automatically save agent canvas content
Feat: Replace the link of the old version of the agent module #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-31 12:14:00 +08:00
committed by GitHub
parent e9c5c7bc7c
commit 0327fd848e
13 changed files with 77 additions and 44 deletions

View File

@ -6,7 +6,7 @@ import React, { useCallback, useMemo } from 'react';
import User from '../user';
import { useTheme } from '@/components/theme-provider';
import { LanguageList, LanguageMap } from '@/constants/common';
import { LanguageList, LanguageMap, ThemeEnum } from '@/constants/common';
import { useChangeLanguage } from '@/hooks/logic-hooks';
import { useFetchUserInfo, useListTenant } from '@/hooks/user-setting-hooks';
import { TenantRole } from '@/pages/user-setting/constants';
@ -58,10 +58,10 @@ const RightToolBar = () => {
}, []);
const onMoonClick = React.useCallback(() => {
setTheme('light');
setTheme(ThemeEnum.Light);
}, [setTheme]);
const onSunClick = React.useCallback(() => {
setTheme('dark');
setTheme(ThemeEnum.Dark);
}, [setTheme]);
const handleBellClick = useCallback(() => {