mirror of
https://github.com/ershisan99/podcaster.git
synced 2025-12-16 12:33:43 +00:00
fix: add deps array to useTitle hook
This commit is contained in:
@@ -7,5 +7,5 @@ export function useTitle(title: string) {
|
||||
return () => {
|
||||
document.title = prevTitle;
|
||||
};
|
||||
});
|
||||
}, [title]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user