Skip to content
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

chore: Update contributors list #1193

Merged
merged 1 commit into from
Nov 7, 2024
Merged

chore: Update contributors list #1193

merged 1 commit into from
Nov 7, 2024

Conversation

rschristian
Copy link
Member

Up ~80 contributors in the last (almost) 3 years.

Comment on lines -34 to -43
const [value, setValue] = useState(
contributors ? contributors[new Date().getMonth()] : undefined
);

useEffect(() => {
if (contributors)
setValue(contributors[(Math.random() * (contributors.length - 1)) | 0]);
}, [...deps]);

return value;
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't really need all this, picking a new contrib every time the footer rerenders is fine.

@rschristian rschristian merged commit 8f82d4f into master Nov 7, 2024
5 checks passed
@rschristian rschristian deleted the chore/contributors branch November 7, 2024 21:30
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