mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-29 06:59:30 -05:00
fix memoization in player?
This commit is contained in:
@@ -76,7 +76,8 @@ export default function PlayerScreen({
|
||||
<>
|
||||
<YStack>
|
||||
|
||||
{ useMemo(() => (
|
||||
{ useMemo(() => {
|
||||
return (
|
||||
<>
|
||||
<XStack
|
||||
marginBottom={"$2"}
|
||||
@@ -129,7 +130,8 @@ export default function PlayerScreen({
|
||||
/>
|
||||
</XStack>
|
||||
</>
|
||||
), [
|
||||
)
|
||||
}, [
|
||||
nowPlaying,
|
||||
queue
|
||||
])}
|
||||
|
||||
Reference in New Issue
Block a user