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

docs: change useHover stories file extension from js to tsx #2478

Conversation

PrzemyslawPolrolniczak
Copy link
Contributor

@PrzemyslawPolrolniczak PrzemyslawPolrolniczak commented Oct 9, 2024

I've just changed file extension and I didn't had to touch any code. Everything is typed well by default

btw. sorry for shitty branch name, I've copied convention from others and didn't knew it will add prefix stuff automatically. Well, it's my 1st open source PR, so lesson learned

Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

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

Thanks @PrzemyslawPolrolniczak!
Looks like the useHover needs to be typed to match the div element, just need to add useHover<HTMLDivElement>();
Screenshot 2024-10-10 at 11 50 35

Could you please add?

@talkor talkor changed the title chore: change useHover stories file extension from js to tsx docs: change useHover stories file extension from js to tsx Oct 10, 2024
@PrzemyslawPolrolniczak
Copy link
Contributor Author

@talkor
I'm very sorry for that, yesterday I've just created my lunarvim setup in WSL and it didn't caught that TS issue.

I've pushed the fix, it should be fine now

@talkor
Copy link
Member

talkor commented Oct 10, 2024

@talkor I'm very sorry for that, yesterday I've just created my lunarvim setup in WSL and it didn't caught that TS issue.

I've pushed the fix, it should be fine now

No worries! Thank you!

@talkor talkor merged commit 52415f4 into mondaycom:master Oct 10, 2024
4 checks passed
@talkor
Copy link
Member

talkor commented Oct 10, 2024

Resolves #2472

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