Skip to content

Commit f87ede8

Browse files
authored
fix(shared): Remove handleValueOrFn from subpaths (#4972)
1 parent 6b05308 commit f87ede8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/cyan-beds-cross.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/shared': patch
3+
---
4+
5+
Re-add `handleValueOrFn` to subpaths with a deprecation warning.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { handleValueOrFn as origHandleValueOrFn } from './utils/handleValueOrFn';
2+
3+
/**
4+
* @deprecated - use `handleValueOrFn` from `@clerk/shared/utils` instead
5+
*/
6+
export const handleValueOrFn = origHandleValueOrFn;

0 commit comments

Comments
 (0)