Skip to content

Conversation

corywatilo
Copy link
Collaborator

Adds a loading state while the site is... loading.

Copy link

vercel bot commented Oct 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
posthog Ready Ready Preview Oct 17, 2025 9:44pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

}, 1000)

return () => clearInterval(interval)
}, [rendered, currentMessageIndex])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: currentMessageIndex in dependencies causes the effect to re-run every time the message changes, recreating the interval unnecessarily. Remove it from the dependency array.

Suggested change
}, [rendered, currentMessageIndex])
}, [rendered])
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/components/Desktop/index.tsx
Line: 325:325

Comment:
**logic:** `currentMessageIndex` in dependencies causes the effect to re-run every time the message changes, recreating the interval unnecessarily. Remove it from the dependency array.

```suggestion
    }, [rendered])
```

How can I resolve this? If you propose a fix, please make it concise.

import { DebugContainerQuery } from 'components/DebugContainerQuery'
import HedgeHogModeEmbed from 'components/HedgehogMode'
import ReactConfetti from 'react-confetti'
import ProgressBar from 'components/ProgressBar'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: unused import

Suggested change
import ProgressBar from 'components/ProgressBar'
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/components/Desktop/index.tsx
Line: 19:19

Comment:
**style:** unused import

```suggestion
```

How can I resolve this? If you propose a fix, please make it concise.

@corywatilo
Copy link
Collaborator Author

@smallbrownbike This now has a cool rotating list of messages, but because even that can get loaded to late, it also injects an initial loading message into Gatsby stuff which does show reliably.

Change whatever you want and merge at will.

@smallbrownbike smallbrownbike merged commit 52c533d into master Oct 17, 2025
5 of 6 checks passed
@smallbrownbike smallbrownbike deleted the desktop-loader branch October 17, 2025 21:28
@github-actions github-actions bot restored the desktop-loader branch October 17, 2025 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants