Commit 8a35991
committed
refactor: update useSSRSafeId to utilize useId from React
- Replaced the import of React's useId with a direct import from 'react' in the useSSRSafeId helper.
- This change simplifies the code and ensures compatibility with the latest React features.1 parent aaa45c2 commit 8a35991
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments