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

Patch About page randomization bug #187

Merged
merged 10 commits into from
Nov 28, 2023

Conversation

moteanup24
Copy link
Contributor

@moteanup24 moteanup24 commented Nov 26, 2023

@dergigi this did the trick for me (I was able to retain the randomization functionality), please let me know if you still have issues with this bug!

note: this also includes some refactoring and cleaning up of outdated code

Copy link

vercel bot commented Nov 26, 2023

@moteanup24 is attempting to deploy a commit to the OpenSats Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Nov 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
os-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2023 10:11am

Copy link
Member

@dergigi dergigi left a comment

Choose a reason for hiding this comment

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

Nice job! ✨ Looks good to me ✅

})

let members
switch (subset) {
Copy link
Member

Choose a reason for hiding this comment

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

Nice! I like that.

Note that there's also the design team, see DesignTeam.tsx which is included as an MDX component in https://opensats.org/nostr#nostr-design - but I'd say that's a story for a follow-up PR.

export default function Members({ subset }) {
const [sortedMembers, setSortedMembers] = useState([...allAuthors])

useEffect(() => {
Copy link
Member

Choose a reason for hiding this comment

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

I guess useEffect is what did the trick 👍

@dergigi dergigi merged commit 8c41680 into OpenSats:master Nov 28, 2023
3 checks passed
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.

None yet

2 participants