mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-15 17:21:36 +00:00
Remove unused commented code for MIME types
This commit is contained in:
parent
8ed5927f67
commit
05a82bbc61
@ -364,7 +364,6 @@ public partial class MainLayout : LayoutComponentBase, IMessageBusReceiver, ILan
|
|||||||
);
|
);
|
||||||
|
|
||||||
this.Logger.LogInformation("Starting audio recording with preferred MIME types: {PreferredMimeTypes}", string.Join<MIMEType>(", ", mimeTypes));
|
this.Logger.LogInformation("Starting audio recording with preferred MIME types: {PreferredMimeTypes}", string.Join<MIMEType>(", ", mimeTypes));
|
||||||
// var array = mimeTypes.ToStringArray().Cast<object?>().ToArray();
|
|
||||||
|
|
||||||
var mimeTypeStrings = mimeTypes.ToStringArray();
|
var mimeTypeStrings = mimeTypes.ToStringArray();
|
||||||
await this.JsRuntime.InvokeVoidAsync("audioRecorder.start", (object)mimeTypeStrings);
|
await this.JsRuntime.InvokeVoidAsync("audioRecorder.start", (object)mimeTypeStrings);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user