Skip to content
Snippets Groups Projects
Unverified Commit d04f05e8 authored by Ryan Senior's avatar Ryan Senior Committed by GitHub
Browse files

Merge pull request #7992 from metabase/fix-lint-warning-in-url-js

Fix a lint warning in frontend/src/metabase/lib/urls.js
parents 4efb2327 4e9c3b2d
No related branches found
No related tags found
No related merge requests found
......@@ -43,8 +43,9 @@ export const extractQueryParams = (query: Object): Array => {
};
const flattenParam = ([key, value]) => {
if (value instanceof Array) return value.map(p => [key, p]);
if (value instanceof Array) {
return value.map(p => [key, p]);
}
return [[key, value]];
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment