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

Akmal / feat: add useContractsForCompanyHook #76

Merged
merged 9 commits into from
Aug 22, 2024

Conversation

akmal-deriv
Copy link
Owner

Changes:

This feature introduces a new React hook, useContractsForCompanyHook, designed to fetch and manage contract data specific to a company.

  • Data Fetching: The hook retrieves contract information for a given company, streamlining access to this data within components.
  • State Management: Efficiently manages the state of the fetched contract data, ensuring it is readily available and up-to-date.
  • Reusability: Provides a reusable solution for accessing company-specific contracts across different components in the project.
    This hook simplifies and centralizes the process of handling company contract data, improving code organization and maintainability.

Copy link

vercel bot commented Aug 20, 2024

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

Name Status Preview Comments Updated (UTC)
deriv-app ❌ Failed (Inspect) Aug 22, 2024 3:52am

Copy link

github-actions bot commented Aug 20, 2024

Generating Lighthouse report...

Copy link

@maryia-deriv maryia-deriv left a comment

Choose a reason for hiding this comment

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

some nit-picks, The rest LGTM :)

packages/trader/src/Stores/Modules/Trading/trade-store.ts Outdated Show resolved Hide resolved
packages/trader/src/AppV2/Containers/Trade/trade-types.tsx Outdated Show resolved Hide resolved
@akmal-deriv akmal-deriv merged commit 4888f4b into f-draggable-items Aug 22, 2024
1 of 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.

3 participants