mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 07:54:18 +02:00
large performance refactor
This commit is contained in:
@@ -27,7 +27,7 @@ export const PlayerbarSlider = () => {
|
||||
const formattedTimeRemaining = formatDuration((currentTime - songDuration) * 1000 || 0);
|
||||
const formattedTime = formatDuration(currentTime * 1000 || 0);
|
||||
|
||||
const { showTimeRemaining } = useAppStore();
|
||||
const showTimeRemaining = useAppStore((state) => state.showTimeRemaining);
|
||||
const { setShowTimeRemaining } = useAppStoreActions();
|
||||
|
||||
useRemote();
|
||||
|
||||
Reference in New Issue
Block a user