diff --git a/src/app/(tabs)/search/story.tsx b/src/app/(tabs)/search/story.tsx index b0b63473..c75e2394 100644 --- a/src/app/(tabs)/search/story.tsx +++ b/src/app/(tabs)/search/story.tsx @@ -30,13 +30,6 @@ function StoryScreen() { } }; - const htmlParser = (html: string) => { - const regex = /
)+/; // regex grabs heading and paragraph tags for story - const corresp = regex.exec(html); - const story = corresp ? corresp[0] : ''; //
paragraph1
... - return story; - }; - useEffect(() => { getStory('170947'); }, []);