Browse Source

clean code

Signed-off-by: Gitea <zizhao.chen@zilliz.com>
Gitea 3 years ago
parent
commit
c28c12b3f3

+ 0 - 1
client/src/context/WebSocket.tsx

@@ -32,7 +32,6 @@ export const WebSocketProvider = (props: { children: React.ReactNode }) => {
      * After all collections are not loading or building index, tell server stop pulling data.
      */
     socket.on(WS_EVENTS.COLLECTION, (data: any) => {
-      console.log(data);
       const collections: CollectionHttp[] = data.map(
         (v: any) => new CollectionHttp(v)
       );

+ 0 - 1
client/src/pages/collections/Collections.tsx

@@ -139,7 +139,6 @@ const Collections = () => {
       const hasLoadingOrBuildingCollection = res.some(
         v => checkLoading(v) || checkIndexBuilding(v)
       );
-      console.log(hasLoadingOrBuildingCollection);
 
       // if some collection is building index or loading, start pulling data
       if (hasLoadingOrBuildingCollection) {

+ 1 - 1
express/package.json

@@ -4,7 +4,6 @@
   "main": "dist/app.js",
   "license": "MIT",
   "dependencies": {
-    "@types/swagger-jsdoc": "^6.0.1",
     "@zilliz/milvus2-sdk-node": "^1.0.19",
     "chalk": "^4.1.2",
     "class-sanitizer": "^1.0.1",
@@ -23,6 +22,7 @@
     "swagger-ui-express": "^4.1.6"
   },
   "devDependencies": {
+    "@types/swagger-jsdoc": "^6.0.1",
     "@types/chalk": "^2.2.0",
     "@types/cors": "^2.8.12",
     "@types/express": "^4.17.13",