style: Fix eslint issues

pull/78/head
boazpoolman 2022-11-28 18:40:44 +01:00
parent eef725684d
commit f300183630
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@
"indent" : "off", "indent" : "off",
"react/jsx-fragments": "off",
"react/jsx-props-no-spreading": "off", "react/jsx-props-no-spreading": "off",
"react-hooks/rules-of-hooks": "error", "react-hooks/rules-of-hooks": "error",

View File

@ -64,7 +64,7 @@ export function importAllConfig(partialDiff, force, toggleNotification) {
body: { body: {
force, force,
config: partialDiff, config: partialDiff,
} },
}); });
toggleNotification({ type: 'success', message }); toggleNotification({ type: 'success', message });
dispatch(getAllConfigDiff(toggleNotification)); dispatch(getAllConfigDiff(toggleNotification));