Skip to content

Commit

Permalink
Fix possible undefined function on native
Browse files Browse the repository at this point in the history
  • Loading branch information
wildan-m committed Oct 10, 2024
1 parent 3988d41 commit aa7bcd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/Sound/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ const playSound = (soundFile: ValueOf<typeof SOUNDS>) => {
});
};

export {SOUNDS};
function clearSoundAssetsCache() {}

export {SOUNDS, clearSoundAssetsCache};
export default withMinimalExecutionTime(playSound, 300);

0 comments on commit aa7bcd4

Please sign in to comment.