Skip to content

Commit a520507

Browse files
committed
Make variable naming more precise
1 parent 6444348 commit a520507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LazyHydrate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ export default {
137137
},
138138
render(h) {
139139
const tag = this.$el ? this.$el.tagName : `div`;
140-
const children = this.$scopedSlots.default
140+
const child = this.$scopedSlots.default
141141
? this.$scopedSlots.default({ hydrated: this.hydrated })
142142
: this.$slots.default[0];
143143
const vnode = this.hydrated
144-
? children
144+
? child
145145
: h(tag);
146146

147147
// Special thanks to Rahul Kadyan for the following lines of code.

0 commit comments

Comments
 (0)