Skip to content

Conversation

@whoadood
Copy link
Collaborator

@whoadood whoadood commented May 23, 2022

abstracts UserTable component, TableUserRow component and TableLink component from Profiles.tsx
simple refactors for the 3 components, had to pass props to each component had to type: any some.

Related Issue

solves issue #13

Motivation and Context

some simple abstractions to increase the readability of Profiles, UserTable, TableUserRow and TableLink in preparation for updating table styles and functionality.

How Has This Been Tested?

I have manually tested these changes and no discernible changes from original code visible on website.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [ x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ x ] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [ x ] I have read the CONTRIBUTING document.

whoadood added 3 commits May 20, 2022 21:57
create TableLink component
create userLink array in Profiles.tsx for utility
map userLink returning TableLink.tsx
extract TableRow component and associated logic from Profiles.tsx
create component UserTable.tsx from Profiles.tsx
@whoadood whoadood requested a review from wil-gerard May 23, 2022 21:10
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.

1 participant