Skip to content

Commit 97271c9

Browse files
committed
prettier
1 parent 292e61a commit 97271c9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/LiveComponent/CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
Additionally, the `prevent` modifier (e.g. `prevent|save`) was removed. Replace
3333
this with the standard Stimulus `:prevent` action option:
3434

35-
```diff
36-
<button
37-
- data-action="live#action
38-
+ data-action="live#action:prevent"
39-
- data-action-name="prevent|save"
40-
+ data-live-action-param="save"
41-
>Save</button>
42-
```
35+
```diff
36+
<button
37+
- data-action="live#action
38+
+ data-action="live#action:prevent"
39+
- data-action-name="prevent|save"
40+
+ data-live-action-param="save"
41+
>Save</button>
42+
```
4343

4444
- [BC BREAK] The `data-event` attribute was removed in favor of using Stimulus
4545
"action parameters": rename `data-event` to `data-live-event-param`. Additionally,

0 commit comments

Comments
 (0)