Skip to content

Commit 0b099b2

Browse files
committed
fix
1 parent bd68d68 commit 0b099b2

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/svelte/src/internal/client/reactivity/props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const spread_props_handler = {
169169
has(target, key) {
170170
for (let p of target.props) {
171171
if (is_function(p)) p = p();
172-
if (p != null && (key in p)) return true;
172+
if (p != null && key in p) return true;
173173
}
174174

175175
return false;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { test } from '../../test';
2+
3+
export default test({
4+
html: '0 0'
5+
});

0 commit comments

Comments
 (0)