Skip to content

Commit b31bffa

Browse files
committed
Fixed linter
1 parent 312d9c6 commit b31bffa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

client/src/pages/System.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ const System = () => {
4141
});
4242

4343
const tabChanged = name => {
44+
//We need to force a refresh if the tab change is between the two Organization components
4445
const refreshRequired = name !== currentTab && organizationTabs.includes(name) &&
4546
organizationTabs.includes(currentTab);
46-
debugger;
4747
setCurrentTab(name);
4848
const path = encodeURIComponent(`/system/${name}`);
49-
//We need to force a refresh of the Organization component that is used twice
5049
navigate(refreshRequired ? `/refresh-route/${path}` : path);
5150
}
5251

0 commit comments

Comments
 (0)