Skip to content

Commit

Permalink
fix(data): 🐛 change instanceof Array to Array.isArray
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobyte committed Feb 24, 2024
1 parent f82a42b commit 81d70c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export function DashURLSearchParams(params) {
})
}

if(params instanceof Array && params.length > 0) {
if(Array.isArray(params) && params.length > 0) {
params.forEach(q => {
let [prop,val] = q
qry[prop] = val
Expand Down

0 comments on commit 81d70c6

Please sign in to comment.