mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 13:12:07 +00:00
feat: remove unnecessary export default for better tree-shaking
This commit is contained in:
@ -189,7 +189,7 @@ export const setupAutoPlayChangedListener = singleton(() => {
|
||||
});
|
||||
});
|
||||
|
||||
export default (api: YoutubePlayer) => {
|
||||
export const setupSongInfo = (api: YoutubePlayer) => {
|
||||
window.ipcRenderer.on('ytmd:setup-time-changed-listener', () => {
|
||||
setupTimeChangedListener();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user