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

feat(story-title): add story title #175

Merged
merged 12 commits into from
Oct 25, 2019
Merged

feat(story-title): add story title #175

merged 12 commits into from
Oct 25, 2019

Conversation

KatvonRivia
Copy link
Member

@KatvonRivia KatvonRivia commented Oct 25, 2019

closes #52

@KatvonRivia KatvonRivia requested a review from pwambach October 25, 2019 09:12
@@ -16,6 +17,8 @@ const Story: FunctionComponent = () => {
const pageNumber = parseInt(page || '0', 10);
const slide = story && story.slides[pageNumber];
const activeStoryId = story && story.id;
const stories = useSelector(storiesSelector);
const findStory = stories.find(storyItem => storyItem.id === storyId);
Copy link
Contributor

Choose a reason for hiding this comment

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

findStory is a strange name. Please call it "storyLitstItem" or somtehing so that it is clear that it's not the complete story but an item of the stories list.

@KatvonRivia KatvonRivia merged commit 41df51f into develop Oct 25, 2019
@KatvonRivia KatvonRivia deleted the feat/story-title branch October 25, 2019 12:33
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.

Show story title
2 participants