File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ function App() {
204204 < TestTab
205205 injector = { injector }
206206 isConnectionConfigured = { isConnectionConfigured }
207- configureConnectionCallback = { ( ) => {
207+ onConfigureConnection = { ( ) => {
208208 if ( window . confirm ( 'Can execute task?' ) ) {
209209 setIsConnectionConfigured ( true ) ;
210210 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313
1414export default function Output ( {
1515 isConnectionConfigured,
16- configureConnectionCallback ,
16+ onConfigureConnection ,
1717 isTaskExecuting,
1818 output,
1919 onResetOutput
@@ -40,7 +40,7 @@ export default function Output({
4040 < div className = "output__body--inner" >
4141 < ConfigureConnection
4242 isConnectionConfigured = { isConnectionConfigured }
43- configureConnectionCallback = { configureConnectionCallback }
43+ onConfigureConnection = { onConfigureConnection }
4444 />
4545 < NoResults
4646 isConnectionConfigured = { isConnectionConfigured }
@@ -64,7 +64,7 @@ export default function Output({
6464function ConfigureConnection ( props ) {
6565 const {
6666 isConnectionConfigured,
67- configureConnectionCallback
67+ onConfigureConnection
6868 } = props ;
6969
7070 if ( isConnectionConfigured ) {
@@ -82,7 +82,7 @@ function ConfigureConnection(props) {
8282 Connection required
8383 </ span >
8484 {
85- configureConnectionCallback && < Link onClick = { configureConnectionCallback } >
85+ onConfigureConnection && < Link onClick = { onConfigureConnection } >
8686 Configure
8787 </ Link >
8888 }
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ export const NO_ELEMENT_TEXT = 'Select a task to start testing';
2525 * @param {Object } props.injector
2626 * @param {import('../../types').TaskExecutionApi } props.api
2727 * @param {boolean } [props.isConnectionConfigured]
28- * @param {string } [props.configureConnectionCallback ]
28+ * @param {string } [props.onConfigureConnection ]
2929 * @param {import('../../types').Config|undefined } [props.config]
3030 * @param {Function } [props.onConfigChanged=() => {}]
3131 */
3232export default function TaskTesting ( {
3333 injector,
3434 api,
3535 isConnectionConfigured,
36- configureConnectionCallback ,
36+ onConfigureConnection ,
3737 config,
3838 onConfigChanged = ( ) => { }
3939} ) {
@@ -318,7 +318,7 @@ export default function TaskTesting({
318318 < div className = "task-testing__container--main--right" >
319319 < Output
320320 isConnectionConfigured = { isConnectionConfigured }
321- configureConnectionCallback = { configureConnectionCallback }
321+ onConfigureConnection = { onConfigureConnection }
322322 isTaskExecuting = { isTaskExecuting }
323323 output = { output }
324324 onResetOutput = { handleResetOutput }
You can’t perform that action at this time.
0 commit comments