refactor: code improve

This commit is contained in:
katherinehhh 2024-01-22 22:25:26 +08:00
parent a71f46dc4f
commit b174d2c1f7
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@
"dependencies": {}, "dependencies": {},
"displayName": "Database source manager ", "displayName": "Database source manager ",
"displayName.zh-CN": "外部数据源管理", "displayName.zh-CN": "外部数据源管理",
"description": "Connect external data to Nocobase", "description": "Connect external data source to Nocobase",
"description.zh-CN": "将外部数据接入Nocobase", "description.zh-CN": "将外部数据接入Nocobase",
"peerDependencies": { "peerDependencies": {
"@nocobase/client": "0.x", "@nocobase/client": "0.x",
"@nocobase/server": "0.x", "@nocobase/server": "0.x",

View File

@ -1,4 +1,4 @@
import { useRecord, useAPIClient } from '@nocobase/client'; import { useRecord } from '@nocobase/client';
import React from 'react'; import React from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { useNavigate } from 'react-router-dom'; import { useNavigate } from 'react-router-dom';