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

fix(Agreements): improved agreements architecture #224

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

evgenibir
Copy link
Contributor

What`s done?

  • Improved architecture of Agreements components
  • The useAgreements and useAgreementsSection hooks have been merged into one

Copy link

vercel bot commented Jan 17, 2025

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

Name Status Preview Comments Updated (UTC)
hypha-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 0:56am

<Link href={`${basePath}/${agreement.slug}`} key={index} scroll={false}>
<AgreementCard key={index} {...agreement} isLoading={isLoading} />
<AgreementCard key={index} {...agreement} isLoading={false} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Should that still be isLoading?

Copy link
Contributor Author

@evgenibir evgenibir Jan 17, 2025

Choose a reason for hiding this comment

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

Should that still be isLoading?

In this case, the already loaded agreements will be in the loading state when click Load more, which is not very nice

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