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 0c6cb05 commit 5414edfCopy full SHA for 5414edf
packages/react-resizable-panels/src/hooks/useUniqueId.ts
@@ -8,7 +8,7 @@ let counter = 0;
8
export default function useUniqueId(
9
idFromParams: string | null = null
10
): string {
11
- const idFromUseId = wrappedUseId();
+ const idFromUseId = wrappedUseId()?.replace(":", "-");
12
13
const idRef = useRef<string | null>(idFromParams || idFromUseId || null);
14
if (idRef.current === null) {
0 commit comments