Skip to content

Commit

Permalink
Don't wrap the attr
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Jul 13, 2023
1 parent ff5e8c0 commit eb43a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/printer/print-to-js.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func render1(p *printer, n *Node, opts RenderOptions) {

n.Attr = append(n.Attr, astro.Attribute{
Key: "data-astro-transition-scope",
Val: fmt.Sprintf(`${%s(%s, "%s", "%s", "%s")}`, RENDER_TRANSITION, RESULT, n.TransitionScope, animationName, transitionName),
Val: fmt.Sprintf(`%s(%s, "%s", "%s", "%s")`, RENDER_TRANSITION, RESULT, n.TransitionScope, animationName, transitionName),
Type: astro.ExpressionAttribute,
})
}
Expand Down

0 comments on commit eb43a5a

Please sign in to comment.