8000 864 - [Tick] The component is receving not recognize props causing a console warning by AndresKindel · Pull Request #868 · laboratoriobridge/bold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

864 - [Tick] The component is receving not recognize props causing a console warning #868

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

8000 Merged
merged 8 commits into from
Nov 13, 2024

Conversation

AndresKindel
Copy link
Contributor

depends on #863
closes #864

This commit updates the renderAxis function in the Chart component to convert tick props using the convertTickProps function. This ensures that tick rendering is consistent.
@AndresKindel AndresKindel changed the base branch from main to 863 October 25, 2024 20:37
wesleydecezere
wesleydecezere previously approved these changes Oct 28, 2024
@@ -139,8 +144,7 @@ function getAxisProps(
}
}

// TODO: Talvez o problema da outra issue esteja aquitalvez o problema esteja aqui
const convertTickProps = (props: any): TickProps => ({
export const convertTickProps = (props: any): TickProps => ({
Copy link
Member

Choose a reason for hiding this comment

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

Since it is now being used by more than one file, it could be moved to a common file, like util.ts or model.ts

Copy link
Contributor

Choose a reason for hiding this comment

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

☝️

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems good. Just remember to follow the bold code patterns, not the PEC ones.

wagnerbsantos
wagnerbsantos previously approved these changes Oct 29, 2024
zDudaHang
zDudaHang previously approved these changes Oct 30, 2024
@@ -139,8 +144,7 @@ function getAxisProps(
}
}

// TODO: Talvez o problema da outra issue esteja aquitalvez o problema esteja aqui
const convertTickProps = (props: any): TickProps => ({
export const convertTickProps = (props: any): TickProps => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

☝️

Andrevmatias
Andrevmatias previously approved these changes Nov 4, 2024
Copy link
Contributor
@Andrevmatias Andrevmatias left a comment

Choose a reason for hiding this comment

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

Thank you! 😊

@Andrevmatias Andrevmatias removed their assignment Nov 4, 2024
Base automatically changed from 863 to main November 13, 2024 17:54
@carolinapsil carolinapsil dismissed stale reviews from Andrevmatias, zDudaHang, GuilhermePrandi, wagnerbsantos, and wesleydecezere November 13, 2024 17:54

The base branch was changed.

@carolinapsil carolinapsil merged commit 6011bf0 into main Nov 13, 2024
2 checks passed
@carolinapsil carolinapsil deleted the 864 branch November 13, 2024 19:01
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.

[Tick] The component is receving not recognize props causing a console warning
7 participants
0