Skip to content

Commit

Permalink
fix: document id
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jun 21, 2020
1 parent 67a8047 commit 29a2a48
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ui/blocks/src/DocumentItem/DocumentItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ export default {
export const overview = () => (
<MockContext storyId="id-of-story">
<BlockContext.Consumer>
{({ storeProvider, docId }) => {
const page = storeProvider.getStoryDoc(docId || 'id-of-story');
console.log(page, docId, storeProvider);
{({ storeProvider }) => {
const page = storeProvider.getStoryDoc('Story');
return page ? (
<DocumentItem
config={storeProvider.config}
Expand Down

0 comments on commit 29a2a48

Please sign in to comment.