Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Jan 3, 2025
1 parent f44edad commit 50e740d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ class InfoBar extends React.Component {
this.toggleDeleteConfirmation = this.toggleDeleteConfirmation.bind(this);
}

/**
*
* Get all tags
* @memberof CommonListing
*/
componentDidMount() {
this.isOrgWideAppUpdateEnabled();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ class AppsTableContent extends Component {
};
}

/**
*
* Get all tags
* @memberof CommonListing
*/
componentDidMount() {
this.isOrgWideAppUpdateEnabled();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function ImportExternalApp(props) {
const settingsContext = useContext(Settings);

/**
* Update the state when new props are available
* Updates isOrgWideAppUpdateEnabled whenever settingsContext changes
*/
useEffect(() => {
const orgWideAppUpdateEnabled = settingsContext.settings.orgWideAppUpdateEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const KeyConfiguration = (props) => {
const settingsContext = useContext(ContextSettings);

/**
* Update the state when new props are available
* Updates isOrgWideAppUpdateEnabled whenever settingsContext changes
*/
useEffect(() => {
const orgWideAppUpdateEnabled = settingsContext.settings.orgWideAppUpdateEnabled;
Expand Down

0 comments on commit 50e740d

Please sign in to comment.