File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export default function touchableToView (ast) {
110
110
const diuu = getDiuu ( path . node . attributes )
111
111
if ( hasEvent ) {
112
112
path . node . attributes . push (
113
- t . jsxAttribute ( t . jsxIdentifier ( 'data-diuu' ) , t . stringLiteral ( diuu ) ) ,
113
+ t . jsxAttribute ( t . jsxIdentifier ( 'data-diuu' ) , t . stringLiteral ( `{{ ${ diuu } }}` ) ) ,
114
114
t . jsxAttribute ( t . jsxIdentifier ( 'hover-stop-propagation' ) , t . stringLiteral ( "true" ) ) ,
115
115
)
116
116
}
@@ -141,7 +141,7 @@ export default function touchableToView (ast) {
141
141
const diuu = getDiuu ( path . node . attributes )
142
142
if ( hasEvent ) {
143
143
path . node . attributes . push (
144
- t . jsxAttribute ( t . jsxIdentifier ( 'data-diuu' ) , t . stringLiteral ( diuu ) ) ,
144
+ t . jsxAttribute ( t . jsxIdentifier ( 'data-diuu' ) , t . stringLiteral ( `{{ ${ diuu } }}` ) ) ,
145
145
)
146
146
}
147
147
You can’t perform that action at this time.
0 commit comments