Skip to content

Commit 00350fa

Browse files
committed
format
1 parent 6f8a94d commit 00350fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/svelte/src/internal/client/transitions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export function bind_transition(dom, transition_fn, props_fn, direction, global)
458458
/** @param {DOMRect} [from] */
459459
const init = (from) =>
460460
untrack(() => {
461-
const props = props_fn === null ? {} : props_fn();
461+
const props = props_fn === null ? {} : props_fn();
462462
return direction === 'key'
463463
? /** @type {import('./types.js').AnimateFn<any>} */ (transition_fn)(
464464
dom,
@@ -469,7 +469,7 @@ export function bind_transition(dom, transition_fn, props_fn, direction, global)
469469
: /** @type {import('./types.js').TransitionFn<any>} */ (transition_fn)(dom, props, {
470470
direction
471471
});
472-
});
472+
});
473473

474474
transition = create_transition(dom, init, direction, transition_effect);
475475
const is_intro = direction === 'in';

packages/svelte/tests/runtime-runes/samples/transition-evaluation/_config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ export default test({
44
test({ assert, component, target }) {
55
const div = /** @type {HTMLDivElement & { foo?: number }} */ (target.querySelector('div'));
66

7-
assert.equal(div.foo, undefined);
8-
component.foo = 2;
7+
assert.equal(div.foo, undefined);
8+
component.foo = 2;
99
component.visible = false;
10-
assert.equal(div.foo, 2);
10+
assert.equal(div.foo, 2);
1111
}
1212
});

0 commit comments

Comments
 (0)