Skip to content

Commit

Permalink
fix: nodeType
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Jul 22, 2024
1 parent 9c6a0cb commit 459a8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selector/src/commonMain/kotlin/li/songe/selector/util.kt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fun initDefaultTypeInfo(webField: Boolean = false): DefaultTypeInfo {
contextType.props = arrayOf(
*nodeType.props,
PropInfo("prev", contextType),
PropInfo("current", contextType),
PropInfo("current", nodeType),
)
globalType.methods = arrayOf(
*contextType.methods,
Expand Down

0 comments on commit 459a8ff

Please sign in to comment.