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

Fixed the actions not appearing for Cards #33

Merged
merged 2 commits into from
Oct 12, 2019
Merged

Fixed the actions not appearing for Cards #33

merged 2 commits into from
Oct 12, 2019

Conversation

emettely
Copy link
Contributor

@emettely emettely commented Oct 12, 2019

Is your Pull Request request related to another issue in this repository ?
Making sure that the changes will work for the npm refactor.
The parent's passing in the functions were not actually being used. So when passing in functions to delete a Transcript for example would not do anything.

Describe what the PR does
Removes binding to the children components, in order to use the right functions.
Will re-publish to NPM and gh pages after

State whether the PR is ready for review or whether it needs extra work
Ready

Additional context
Apparently arrow functions are not great for performance as it creates a new function every time, although not related to how it wasn't actually using the parent's arrow function.

@emettely emettely added the bug Something isn't working label Oct 12, 2019
@emettely emettely self-assigned this Oct 12, 2019
@emettely emettely changed the title Fixed the actions not appearing up Fixed the actions not appearing for Cards Oct 12, 2019
@emettely emettely merged commit 089dd19 into master Oct 12, 2019
@emettely emettely deleted the fix-cards branch October 12, 2019 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant