Skip to content
Snippets Groups Projects
Commit 4e9c3b2d authored by Ryan Senior's avatar Ryan Senior
Browse files

Fix a lint warning in frontend/src/metabase/lib/urls.js

parent 4efb2327
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