File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const Demo = () => {
1010 const [ focusedFieldName , setFocusedField ] = React . useState ( '' )
1111 const numberField = React . useRef ( )
1212 const cvvField = React . useRef ( ) ;
13- console . log ( { focusedFieldName } )
13+
1414 const onAuthorizationSuccess = ( ) => {
1515 numberField . current . focus ( ) ;
1616 }
Original file line number Diff line number Diff line change 11import { render } from 'react-dom' ;
22import React from 'react' ;
33import { Braintree , HostedField } from '../src/index' ;
4- // import Demo from './demo-class.jsx'
5- import Demo from './demo-functional.jsx'
4+ import Demo from './demo-class.jsx'
5+ // import Demo from './demo-functional.jsx'
66
77render ( React . createElement ( Demo ) , document . getElementById ( 'root' ) ) ;
You can’t perform that action at this time.
0 commit comments