Skip to content

Conversation

@yureiblack
Copy link

The useEffect hook responsible for setting the page title in Templates.jsx was missing a dependency array, causing it to run on every render.
Although harmless in functionality, this introduced avoidable re-renders and could lead to performance issues as the component grows.

Changes included:

  • Added [] to ensure the effect runs only once on component mount.
  • Minor cleanup to align with React best practices.

This stabilizes the render cycle and avoids unnecessary effect executions.

@vercel
Copy link

vercel bot commented Dec 4, 2025

@yureiblack is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant