Skip to content

Commit

Permalink
fix: worklet error
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFridmansky authored and Lipo11 committed Nov 8, 2023
1 parent 82de38e commit 0de8cef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/InstagramStories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ const InstagramStories = forwardRef<InstagramStoriesPublicMethods, InstagramStor

const onPress = ( id: string ) => {

'worklet';

loadingStory.value = id;

if ( loadedStories.value ) {
Expand All @@ -57,16 +55,12 @@ const InstagramStories = forwardRef<InstagramStoriesPublicMethods, InstagramStor

const onLoad = () => {

'worklet';

loadingStory.value = undefined;

};

const onStoriesChange = async () => {

'worklet';

seenStories.value = await ( saveProgress ? getProgressStorage() : {} );

const promises = stories.map( ( story ) => {
Expand Down

0 comments on commit 0de8cef

Please sign in to comment.