Skip to content

Commit

Permalink
Removes console logs
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed May 17, 2024
1 parent 7d3193c commit 76880f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ export function renderComplianceSettings(config: AuditLoggingSettings) {

export function AuditLogging(props: AuditLoggingProps) {
const dataSourceEnabled = !!props.depsStart.dataSource?.dataSourceEnabled;
console.log(props.depsStart);
const [configuration, setConfiguration] = React.useState<AuditLoggingSettings>({});
const { dataSource, setDataSource } = useContext(DataSourceContext)!;
console.log(dataSource);

const onSwitchChange = async () => {
try {
Expand Down
2 changes: 0 additions & 2 deletions public/apps/configuration/panels/auth-view/auth-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export function AuthView(props: AppDependencies) {
}, [props.coreStart.http, dataSource]);

if (isEmpty(authentication)) {
console.log(dataSource);
console.log(dataSourceEnabled);
if (dataSourceEnabled && dataSource === undefined) {
return (
<>
Expand Down

0 comments on commit 76880f8

Please sign in to comment.