Skip to content

Commit

Permalink
Removed Console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshkuiry committed Sep 10, 2023
1 parent 687a708 commit 603df33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions ui/components/UserPreferences.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//import useState from "react"
import React, { useState, useEffect } from "react";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
Expand Down Expand Up @@ -232,7 +233,7 @@ function UserPreference(props) {
(result) => {
props.updateProgress({ showProgress : false });
if (typeof result !== "undefined") {
console.log(result);
// console.log(result);

notify({ message : msg, event_type : val ? EVENT_TYPES.SUCCESS : EVENT_TYPES.INFO });
}
Expand Down Expand Up @@ -262,7 +263,7 @@ function UserPreference(props) {
},
(result) => {
if (result) {
console.log(result);
// console.log(result);
setExtensionPreferences(result?.usersExtensionPreferences);
setCatalogContent(result?.usersExtensionPreferences?.catalogContent);
}
Expand Down
4 changes: 1 addition & 3 deletions ui/pages/user/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const UserPref = (props) => {
}, [props]);

const handleFetchData = async () => {
console.log(`path: ${getPath()}`);
// console.log(`path: ${getPath()}`);
props.updatepagepath({ path : getPath() });
props.updatepagetitle({ title : "User Preferences" });

Expand All @@ -33,9 +33,7 @@ const UserPref = (props) => {
},
(result) => {
resolve();
console.log("result", result);
if (typeof result !== "undefined") {
console.log("result", "here");
setAnonymousStats(result.anonymousUsageStats);
setPerfResultStats(result.anonymousPerfResults);
}
Expand Down

0 comments on commit 603df33

Please sign in to comment.