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/lint warning on button test file #1036

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

paghar
Copy link
Contributor

@paghar paghar commented Oct 1, 2023

Summarize the changes made and the motivation behind them.

Reference related issues using # followed by the issue number.

If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.

@vercel
Copy link

vercel bot commented Oct 1, 2023

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

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2023 2:48pm

@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from 3751df0 to a343c40 Compare October 1, 2023 21:15
@paghar
Copy link
Contributor Author

paghar commented Oct 1, 2023

@rluders I have changed the type to fix lint warning.
please check that🙏

@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

Attention: 483 lines in your changes are missing coverage. Please review.

Comparison is base (7461173) 99.54% compared to head (1310c99) 93.91%.
Report is 119 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1036      +/-   ##
==========================================
- Coverage   99.54%   93.91%   -5.64%     
==========================================
  Files         163      202      +39     
  Lines        6621     8458    +1837     
  Branches      401      465      +64     
==========================================
+ Hits         6591     7943    +1352     
- Misses         30      515     +485     
Files Coverage Δ
src/components/Accordion/Accordion.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionContent.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionPanel.tsx 100.00% <100.00%> (ø)
src/components/Accordion/AccordionPanelContext.tsx 88.88% <100.00%> (+1.38%) ⬆️
src/components/Accordion/AccordionTitle.tsx 100.00% <100.00%> (ø)
src/components/Alert/Alert.tsx 100.00% <100.00%> (ø)
src/components/Avatar/Avatar.tsx 100.00% <100.00%> (ø)
src/components/Avatar/AvatarGroup.tsx 100.00% <100.00%> (ø)
src/components/Avatar/AvatarGroupCounter.tsx 100.00% <100.00%> (ø)
src/components/Badge/Badge.tsx 100.00% <100.00%> (ø)
... and 106 more

... and 34 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rluders rluders requested a review from nigellima October 3, 2023 19:25
@rluders
Copy link
Collaborator

rluders commented Oct 3, 2023

@nigellima WDYT?

@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from a343c40 to 2179901 Compare October 10, 2023 12:01
@rluders rluders requested a review from nigellima October 10, 2023 21:24
@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from 2179901 to d35789f Compare October 13, 2023 13:11
@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from d35789f to 4f6d249 Compare October 14, 2023 13:32
@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from 4f6d249 to 7879568 Compare October 17, 2023 13:02
@paghar
Copy link
Contributor Author

paghar commented Oct 17, 2023

@rluders should I close this PR?

@rluders
Copy link
Collaborator

rluders commented Oct 17, 2023

@rluders should I close this PR?

I actually missed this one, didn't have time to test it. Maybe @SutuSebastian could also give some feedback here.

@SutuSebastian
Copy link
Collaborator

My only question is:

  • is this nullable approach just to be able to test that it should render the default html element (in this case button)?

@paghar
Copy link
Contributor Author

paghar commented Oct 17, 2023

My only question is:

* is this nullable approach just to be able to test that it should render the default html element (in this case `button`)?

Yes, it seems to be for this reason.

@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from 7879568 to 983d960 Compare October 17, 2023 14:45
@paghar paghar force-pushed the fix/lint_warning_on_button_test_file branch from 983d960 to 1310c99 Compare October 17, 2023 14:46
@SutuSebastian
Copy link
Collaborator

Then we're all good here

@paghar
Copy link
Contributor Author

paghar commented Oct 17, 2023

@rluders

@rluders rluders merged commit ea3eadd into themesberg:main Oct 17, 2023
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.

4 participants