Skip to content

Commit d14657e

Browse files
committed
Update UtilityInjection.astro
1 parent af63a49 commit d14657e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/components/UtilityInjection.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let utilities = [
2828
name: 'Data',
2929
type: 'array<string, mixed>',
3030
parameter: '$data',
31-
description: 'The array of data submitted from form fields in the action\'s modal.',
31+
description: 'The array of data submitted from form fields in the action\'s modal. It will be empty before the modal form is submitted.',
3232
},
3333
{
3434
name: 'Livewire',
@@ -295,7 +295,7 @@ let utilities = [
295295
],
296296
},
297297
}[version][set],
298-
].sort((a, b) => a.name > b.name ? 1 : -1)
298+
].sort((a, b) => a.parameter > b.parameter ? 1 : -1)
299299
300300
// Remove duplicate utilities with the same parameter and preserve the last utility, allowing for overrides.
301301
utilities = Array.from(new Map(utilities.map((utility) => [utility.parameter, utility])).values())

0 commit comments

Comments
 (0)