mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
move track player hooks and mapping into state
This commit is contained in:
@@ -6,7 +6,7 @@ import NetInfo, { NetInfoStateType } from '@react-native-community/netinfo'
|
||||
|
||||
const reset = () => {
|
||||
unstable_batchedUpdates(() => {
|
||||
useStore.getState().reset()
|
||||
useStore.getState().resetTrackPlayerState()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user