We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef03b49 commit 98a15f5Copy full SHA for 98a15f5
packages/utilities/src/utils/useId.ts
@@ -16,4 +16,4 @@ let idCounter = 0;
16
*
17
* @returns A generated ID that can be passed to accessibility attributes
18
*/
19
-export const useId = (id?: any) => useReachId(id) || `id:${idCounter++}`;
+export const useId = (id?: any) => `${useReachId(id)}` || `id:${idCounter++}`;
0 commit comments