Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Feb 2, 2024
1 parent 9a1ae60 commit 1e03db2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@headlessui-vue/src/hooks/use-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export function useId() {
}

/**
* This function is allows users to provide a custom id generator
* as a workaround for the lack of stable SSR IDs in Vue 3.x
* This function allows users to provide a custom ID generator
* as a workaround for the lack of stable SSR IDs in Vue 3.x.
*
* This lets users of Nuxt swap in the Nuxt `useId` function
* This Nuxt users use the Nuxt provided `useId` function
* which is stable across SSR and client.
*/
export function provideUseId(fn: () => string) {
Expand Down

0 comments on commit 1e03db2

Please sign in to comment.