fixing some warnings

This commit is contained in:
wil committed 2024-02-15 18:10:38 -05:00
1 parent 8b11e51b87
commit 6b28bbd55e
4 files changed
+7 -3

No files matched your search

@@ -31,9 +31,11 @@ const renderTrack = ({ props: { style, ...props }, children }: any) => (
const thumb =
(thumbTip = "") =>
({ props: { style, ...props } }: any) => {
const key = Date.now()
return (
<Tippy
{...{
key,
arrow: false,
content: thumbTip,
placement: "bottom",
@@ -5,7 +5,7 @@ import React from "react";
export function StudioNotAvailable() {
const subText = (
<p> Please visit our <DiscordLink2 /> to join the wait list. </p>
<> Please visit our <DiscordLink2 /> to join the wait list. </>
);
return (
@@ -27,9 +27,9 @@ export function TableOfKeyValues(
border: "1px solid white",
borderTopLeftRadius: "1rem",
borderBottomLeftRadius: "1rem",
}}>{
}}><tbody>{
Object.entries(keyValues).map(([key, val], index: number)=>{
return <tr key={index}><td>{`${key}`}</td><td>{`${val}`}</td></tr>
})
}</table>);
}</tbody></table>);
}
@@ -41,7 +41,9 @@ export default function PageVSTApp({
const [styleStrength, setStyleStrength]= useState<number>(8);
const videoRef = useRef<HTMLVideoElement>(null);
if(videoRef?.current){
if(debug) console.log("set-up video element listeners");
const ve = videoRef.current
ve.onloadedmetadata = () =>{
if (ve.videoWidth && ve.videoHeight) {