Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Dec 13, 2024
1 parent 13ca61e commit 21b0865
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ export function VariableDeclaration(node, context) {
const invalidation_id = /** @type {Identifier} */ (pattern.elements[1]);
declarations.push(
b.declarator(state_id, value),
b.declarator(invalidation_id, b.arrow([b.id('$$fn')], b.chain_call(b.id('$$fn'), state_id)))
b.declarator(
invalidation_id,
b.arrow([b.id('$$fn')], b.chain_call(b.id('$$fn'), state_id))
)
);
continue;
}
Expand Down

0 comments on commit 21b0865

Please sign in to comment.