Skip to content

Commit 167e77d

Browse files
committed
lint
1 parent 0ba9d4e commit 167e77d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,11 @@ export const javascript_visitors_runes = {
276276
/** @type {import('estree').Expression} */ (visit(binding.initial));
277277
// We're adding proxy here on demand and not within the prop runtime function so that
278278
// people not using proxied state anywhere in their code don't have to pay the additional bundle size cost
279-
if (initial && binding.kind === 'bindable_prop' && should_proxy_or_freeze(initial, state.scope)) {
279+
if (
280+
initial &&
281+
binding.kind === 'bindable_prop' &&
282+
should_proxy_or_freeze(initial, state.scope)
283+
) {
280284
initial = b.call('$.proxy', initial);
281285
}
282286

0 commit comments

Comments
 (0)