Skip to content

Commit

Permalink
Merge branch 'main' into fix-ts-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn authored Nov 21, 2023
2 parents 32feb50 + 1cf5fad commit 955113b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/registry/default/ui/use-toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const actionTypes = {
let count = 0

function genId() {
count = (count + 1) % Number.MAX_VALUE
count = (count + 1) % Number.MAX_SAFE_INTEGER
return count.toString()
}

Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/new-york/ui/use-toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const actionTypes = {
let count = 0

function genId() {
count = (count + 1) % Number.MAX_VALUE
count = (count + 1) % Number.MAX_SAFE_INTEGER
return count.toString()
}

Expand Down

0 comments on commit 955113b

Please sign in to comment.