Skip to content

Commit cfc06e2

Browse files
committed
fix readme
1 parent a3844d2 commit cfc06e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ NestedForm::make('Posts')->open(true),
144144
You can modify the default heading using the heading() method. You can use the helper method **wrapIndex()** to add the current child index to your header.
145145

146146
```php
147-
NestedForm::make('Posts')->heading(NestedForm::wrapIndex() . ' // ' . Post'),
147+
NestedForm::make('Posts')->heading(NestedForm::wrapIndex() . ' // Post'),
148148
```
149149

150150
You can also add any attribute of the current child into your heading using the helper method **wrapAttribute()**.

0 commit comments

Comments
 (0)