This commit is contained in:
wil committed 2024-04-23 21:10:05 -04:00
1 parent aa0c8e15b9
commit dc51b5a039
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ export const WaveformPlayer = ({ audio }: { audio: string }) => {
useEffect(() => {
return () => {
console.log("OK?");
//destructor on unmount
waveSurferRef.current?.destroy();
};
}, []);
@@ -31,6 +31,7 @@ export const PageSelectV2VModel = ({
const refCallback = useCallback((node:HTMLInputElement)=>{
if(node) node.focus();
//auto focus on the mounting on the input component
},[]);
return(