Skip to content

Commit c416538

Browse files
committed
Update test
1 parent 91d23dc commit c416538

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/syntax_tests/data/ppx/react/expected/sharedPropsWithProps.res.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,11 @@ module V4A6 = {
135135
module V4A7 = {
136136
type props = {count: int}
137137

138-
let make =
139-
@directive("'use memo'")
140-
props => {
141-
React.int(props.count)
142-
}
138+
let make = props => {
139+
React.int(props.count)
140+
}
143141
let make = {
144-
let \"SharedPropsWithProps$V4A7" = props => make(props)
142+
let \"SharedPropsWithProps$V4A7" = @directive("'use memo'") props => make(props)
145143
\"SharedPropsWithProps$V4A7"
146144
}
147145
}

0 commit comments

Comments
 (0)