Add no-return-assign eslint rule and fix issues
This commit is contained in:
@@ -103,9 +103,9 @@ function getViewEventDetail(view, {state, url, options = {}}, isRestored) {
|
||||
const searchParams = new URLSearchParams(url.substring(index + 1));
|
||||
const params = {};
|
||||
|
||||
searchParams.forEach((value, key) =>
|
||||
params[key] = value
|
||||
);
|
||||
searchParams.forEach((value, key) => {
|
||||
params[key] = value;
|
||||
});
|
||||
|
||||
return {
|
||||
detail: {
|
||||
|
||||
Reference in New Issue
Block a user