-
Notifications
You must be signed in to change notification settings - Fork 0
Sync pnpm-lock.yaml after removing @openrouter/sdk #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| "use client"; | ||
|
|
||
| import { | ||
| motion, | ||
| useAnimationFrame, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,7 +110,9 @@ const TextType = ({ | |
|
|
||
| setCurrentTextIndex((prev) => (prev + 1) % textArray.length); | ||
| setCurrentCharIndex(0); | ||
| timeout = setTimeout(() => {}, pauseDuration); | ||
| timeout = setTimeout(() => { | ||
| executeTypingAnimation(); | ||
| }, pauseDuration); | ||
|
Comment on lines
111
to
+115
|
||
| } else { | ||
| timeout = setTimeout(() => { | ||
| setDisplayedText((prev) => prev.slice(0, -1)); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The page-view dedup key is only written to
sessionStorageafterincrementPageViews()resolves. If the server action increments successfully but the client request fails/aborts before the response is received, the key won’t be set and a refresh/back-nav can increment again (still causing inflated counts / milestone email spam). Set the session key before starting the increment request and wrap the call in try/catch (optionally clearing the key on failure) to ensure dedup holds even under network errors.