🔧 Fixed loading state for DC++ search and type errors in bluelovers fast-glob module

This commit is contained in:
2021-09-04 17:30:56 -07:00
parent bacde33567
commit 664f359ef7
3 changed files with 4 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.13.17", "@babel/runtime": "^7.13.17",
"@bluelovers/fast-glob": "^3.0.4", "@bluelovers/fast-glob": "https://github.com/rishighan/fast-glob-v2-api.git",
"@types/event-stream": "^3.3.34", "@types/event-stream": "^3.3.34",
"@types/mime-types": "^2.1.0", "@types/mime-types": "^2.1.0",
"@types/react": "^17.0.3", "@types/react": "^17.0.3",

View File

@@ -23,7 +23,7 @@ function airdcppReducer(state = initialState, action) {
return { return {
...state, ...state,
searchResults: [...state.searchResults, action.groupedResult], searchResults: [...state.searchResults, action.groupedResult],
isAirDCPPSearchInProgress: false, isAirDCPPSearchInProgress: true,
}; };
case AIRDCPP_SEARCH_IN_PROGRESS: case AIRDCPP_SEARCH_IN_PROGRESS:
return { return {

View File

@@ -1022,10 +1022,9 @@
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
"@bluelovers/fast-glob@^3.0.4": "@bluelovers/fast-glob@https://github.com/rishighan/fast-glob-v2-api.git":
version "3.0.4" version "3.0.4"
resolved "https://registry.npmjs.org/@bluelovers/fast-glob/-/fast-glob-3.0.4.tgz" resolved "https://github.com/rishighan/fast-glob-v2-api.git#2f4b570e357731ebbbde723e035c92df821c0c3e"
integrity sha512-djAOOjDWXolYArm5NXxOIX7Q7OGhAaRtMs5F968OxelWkMUU6PyU6tS66CFykVON4U5y8jXcsnVAFCaeuf1nEA==
dependencies: dependencies:
bluebird "^3" bluebird "^3"
fast-glob "^3" fast-glob "^3"