Fixes bugs with the story viewer

This commit is contained in:
Josh Perez 2022-05-04 14:45:32 -04:00 committed by GitHub
parent 36c5de4600
commit c6c6087357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 156 additions and 156 deletions

View file

@ -45,6 +45,7 @@ function getDefaultProps(): PropsType {
path: 'snow.jpg',
url: '/fixtures/snow.jpg',
}),
canReply: true,
messageId: '123',
sender,
timestamp: Date.now(),
@ -64,6 +65,7 @@ story.add('Wide story', () => (
path: 'file.jpg',
url: '/fixtures/nathan-anderson-316188-unsplash.jpg',
}),
canReply: true,
messageId: '123',
sender: getDefaultConversation(),
timestamp: Date.now(),
@ -103,6 +105,7 @@ story.add('Multi story', () => {
path: 'file.jpg',
url: '/fixtures/nathan-anderson-316188-unsplash.jpg',
}),
canReply: true,
messageId: '456',
sender,
timestamp: Date.now() - 3600,
@ -122,6 +125,7 @@ story.add('Caption', () => (
path: 'file.jpg',
url: '/fixtures/nathan-anderson-316188-unsplash.jpg',
}),
canReply: true,
messageId: '123',
sender: getDefaultConversation(),
timestamp: Date.now(),
@ -141,6 +145,7 @@ story.add('Long Caption', () => (
path: 'file.jpg',
url: '/fixtures/snow.jpg',
}),
canReply: true,
messageId: '123',
sender: getDefaultConversation(),
timestamp: Date.now(),