Skip to content

Commit

Permalink
fix: change uuid package
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jul 15, 2024
1 parent cc268eb commit e703f38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"react-router-dom": "^6.24.1",
"sharp": "^0.33.4",
"typescript": "^5.5.3",
"uuidv7": "^1.0.1",
"uuid": "^10.0.0",
"zustand": "^4.5.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSession.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
import { useEffect, useState } from 'react';
import { uuidv7 } from 'uuidv7';
import { v7 as uuidv7 } from 'uuid';

export const useSession = (): string | undefined => {
const [session, setSession] = useState<string | undefined>(() => {
Expand Down
11 changes: 1 addition & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9351,7 +9351,7 @@ __metadata:
rollup-plugin-polyfill-node: "npm:^0.13.0"
sharp: "npm:^0.33.4"
typescript: "npm:^5.5.3"
uuidv7: "npm:^1.0.1"
uuid: "npm:^10.0.0"
web-vitals: "npm:^4.2.1"
zustand: "npm:^4.5.4"
languageName: unknown
Expand Down Expand Up @@ -12800,15 +12800,6 @@ __metadata:
languageName: node
linkType: hard

"uuidv7@npm:^1.0.1":
version: 1.0.1
resolution: "uuidv7@npm:1.0.1"
bin:
uuidv7: cli.js
checksum: 10/24f835d067ee69ee46b1734b1da33e6f751f04ccfa5aa83703fc84693b8628d0ae0b4cd7f31c940ec933268971c338931bf5b57b09e882e14df47dfebba2b760
languageName: node
linkType: hard

"valtio@npm:1.11.2":
version: 1.11.2
resolution: "valtio@npm:1.11.2"
Expand Down

0 comments on commit e703f38

Please sign in to comment.