fix: open 'data' page by default after routing to data settings

This commit is contained in:
one 2025-03-26 22:04:05 +08:00 committed by 亢奋猫
parent c162242433
commit 415f991143

View File

@ -37,7 +37,7 @@ const DataSettings: FC = () => {
const [appInfo, setAppInfo] = useState<AppInfo>()
const { size, removeAllFiles } = useKnowledgeFiles()
const { theme } = useTheme()
const [menu, setMenu] = useState<string>('common')
const [menu, setMenu] = useState<string>('data')
//joplin icon needs to be updated into iconfont
const JoplinIcon = () => (