Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9e00c5

Browse files
committed
remove api call from DS home page
1 parent491c8bb commitc9e00c5

File tree

1 file changed

+0
-7
lines changed
  • client/packages/lowcoder/src/pages/datasource

1 file changed

+0
-7
lines changed

‎client/packages/lowcoder/src/pages/datasource/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,11 @@ import { getDataSource, getDataSourceTypes } from "../../redux/selectors/datasou
1616
exportconstDatasourceHome=()=>{
1717
constdispatch=useDispatch();
1818

19-
constdatasourceList=useSelector(getDataSource);
2019
constdatasourceTypes=useSelector(getDataSourceTypes);
2120

2221
constcurrentUser=useSelector(getUser);
2322
constorgId=currentUser.currentOrgId;
2423

25-
useEffect(()=>{
26-
if(isEmpty(orgId)||datasourceList.length!==0){
27-
return;
28-
}
29-
dispatch(fetchDatasource({organizationId:orgId}));
30-
},[dispatch,datasourceList.length,orgId]);
3124

3225
useEffect(()=>{
3326
if(isEmpty(orgId)||datasourceTypes.length!==0){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp