simnova / ownercommunity

MIT License
2 stars 1 forks source link

fix typechecks #149

Closed nguyenduy closed 4 weeks ago

nguyenduy commented 4 weeks ago

Summary by Sourcery

This pull request addresses type checking issues in the CommunityList component by adding the missing 'members' property in test cases and resolves an unused variable warning in the CommunitiesDropdownContainer component.

sourcery-ai[bot] commented 4 weeks ago

Reviewer's Guide by Sourcery

This pull request addresses type-checking issues in the codebase. The changes primarily involve updating the props passed to components and modifying variable names to avoid unused variable warnings.

File-Level Changes

Files Changes
ui-community/src/components/layouts/accounts/components/community-list.test.tsx
ui-community/src/components/ui/organisms/dropdown-menu/communities-dropdown-container.tsx
Fixed type-checking issues by updating component props and renaming variables to avoid warnings.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.