Skip to content

Commit b9bc400

Browse files
committed
remove some console logs
1 parent 03cc65f commit b9bc400

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '3d5724922fbfda01b304');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '6fa3e01c448e3b46a1a0');

build/next-steps-portal/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '99a3828b5805dadbcd3e');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => 'a4df2b5ae69fbc209752');

build/next-steps-widget/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/nextSteps/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,10 @@ export const NextSteps = () => {
109109
taskUpdateWrapper(
110110
data,
111111
( error ) => {
112-
// TODO handle error better
113-
// console.error( 'Error updating step:', error );
114112
errorCallback( error );
115113
},
116114
( response ) => {
117-
// The response is true for success
118-
// Nothing needed here since the task update is handled in the task component
119-
// console.log( 'Task update success' );
115+
// Nothing action needed here since the task update is handled in the task component
120116
successCallback( response );
121117
}
122118
);
@@ -135,7 +131,7 @@ export const NextSteps = () => {
135131
}
136132

137133
if ( ! trackId ) {
138-
// console.error( 'Could not find track for section:', section );
134+
// Could not find track for intendend section
139135
return;
140136
}
141137

src/components/task/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export const Task = ( props ) => {
4040
( response ) => {
4141
// update status on success
4242
setStatus( newStatus ); // redundant since we already set it above
43-
// console.log( 'Task status updated successfully' );
4443
}
4544
);
4645
};

0 commit comments

Comments
 (0)