File tree Expand file tree Collapse file tree
packages/youtube-external-audio/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,19 @@ function Web() {
3636 < main className = "flex min-h-screen items-start justify-center bg-button p-8 font-sans text-foreground" >
3737 < div className = "flex flex-col items-end gap-3" >
3838 < div className = "flex gap-2" >
39+ < button
40+ className = "cursor-pointer rounded-md border border-button-border bg-panel px-2.5 py-1.5 text-xs hover:bg-button-hover"
41+ type = "button"
42+ onClick = { ( ) =>
43+ setError ( ( current ) =>
44+ current
45+ ? undefined
46+ : "Audio is available for this session but could not be saved." ,
47+ )
48+ }
49+ >
50+ { error ? "Clear error" : "Error preview" }
51+ </ button >
3952 < button
4053 className = "cursor-pointer rounded-md border border-button-border bg-panel px-2.5 py-1.5 text-xs hover:bg-button-hover"
4154 type = "button"
You can’t perform that action at this time.
0 commit comments