Skip to content

Conversation

@arshadkazmi42
Copy link
Contributor

@arshadkazmi42 arshadkazmi42 commented Jan 30, 2019

Fixes #63

piotrwitek and others added 6 commits January 24, 2019 14:42
resolve #120 (comment)

- divide `playground/src/context/theme-provider.tsx` to `theme-provider.tsx`, `theme-consumer.tsx` and  `theme-context.ts`.
- add the example for `useContext` to `playground/src/hooks/use-theme-context.tsx`.
Add examples for Context API
@arshadkazmi42
Copy link
Contributor Author

Just checked the contributing guide. Update my PR.

@piotrwitek piotrwitek force-pushed the master branch 2 times, most recently from 9bfd6f2 to ac58144 Compare February 3, 2019 17:10
Copy link
Owner

@piotrwitek piotrwitek left a comment

Choose a reason for hiding this comment

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

Hey, I checked and it looks good! Could you please rebase your changes on master because I had to make some changes.

@arshadkazmi42
Copy link
Contributor Author

@piotrwitek I did rebase with master,
but semaphoreci is faling the build.
Its throwing this error

src/features/todos-typesafe/reducer.spec.ts:7:7 - error TS6133: 'completedTodo' is declared but its value is never read.

Looks like there is a declared value which is not getting used. Do want me to remove it and update the PR or it something related to your changes?

@piotrwitek
Copy link
Owner

piotrwitek commented Feb 3, 2019

@arshadkazmi42 this was me, sorry for that. I fixed the build now, could you try again please?

@arshadkazmi42
Copy link
Contributor Author

@piotrwitek Done with rebasing. Build is passing now.
There is one more change added to my PR after rebase
https://github.com/piotrwitek/react-redux-typescript-guide/pull/130/files#diff-04c6e90faac2675aa89e2176d2eec7d8R113

Can you check it once if its required

@piotrwitek
Copy link
Owner

Hey @arshadkazmi42, your branch history is somehow broken, you have many duplicated commits. I would advise to create a new branch from master HEAD and then cherry-pick only 2 commits original commits with your changes. then submit another PR or just clean up your branch with push force.
Let me know if something is not clear.

@arshadkazmi42
Copy link
Contributor Author

Let me create a fresh PR from latest master.
I will close this PR.

piotrwitek pushed a commit that referenced this pull request Feb 4, 2019
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.

3 participants