Skip to content

Commit a151336

Browse files
author
Keyan Zhang
committed
renamed liftGetInitialState
1 parent 93e5931 commit a151336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transforms/property-initializer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ module.exports = (file, api, options) => {
283283
})
284284
.forEach(path => j(path).replaceWith(j.identifier('props')));
285285

286-
const liftGetInitialState = getInitialState =>
286+
const inlineGetInitialState = getInitialState =>
287287
getInitialState.value.body.body.map(statement => {
288288
if (statement.type === 'ReturnStatement') {
289289
return j.expressionStatement(
@@ -344,7 +344,7 @@ module.exports = (file, api, options) => {
344344
)
345345
),
346346
],
347-
liftGetInitialState(getInitialState)
347+
inlineGetInitialState(getInitialState)
348348
)
349349
)
350350
),

0 commit comments

Comments
 (0)