diff --git a/ts/components/Stories.tsx b/ts/components/Stories.tsx index 4b87c6d7f2b0..462ce4a7223c 100644 --- a/ts/components/Stories.tsx +++ b/ts/components/Stories.tsx @@ -95,12 +95,12 @@ export const Stories = ({ diff --git a/ts/components/StoriesPane.tsx b/ts/components/StoriesPane.tsx index 369feb59aa2f..172f3c9d0666 100644 --- a/ts/components/StoriesPane.tsx +++ b/ts/components/StoriesPane.tsx @@ -52,23 +52,23 @@ function getNewestStory(story: ConversationStoryType): StoryViewType { export type PropsType = { hiddenStories: Array; i18n: LocalizerType; - onBack: () => unknown; onStoryClicked: (conversationId: string) => unknown; openConversationInternal: (_: { conversationId: string }) => unknown; queueStoryDownload: (storyId: string) => unknown; stories: Array; toggleHideStories: (conversationId: string) => unknown; + toggleStoriesView: () => unknown; }; export const StoriesPane = ({ hiddenStories, i18n, - onBack, onStoryClicked, openConversationInternal, queueStoryDownload, stories, toggleHideStories, + toggleStoriesView, }: PropsType): JSX.Element => { const [searchTerm, setSearchTerm] = useState(''); const [isShowingHiddenStories, setIsShowingHiddenStories] = useState(false); @@ -89,7 +89,7 @@ export const StoriesPane = ({