This pull request includes a simplification to the Home.razor file in the src/HelloDallE8/Components/Pages directory. The change removes redundant code that was invoking the SKQuestions.InvokePromptAsync() method twice. The method is now invoked only once, which should improve the efficiency of the code.
Simplification of code:
src/HelloDallE8/Components/Pages/Home.razor: Removed the redundant Task.Run() invocation of SKQuestions.InvokePromptAsync(). The method is now invoked directly, simplifying the code and potentially improving performance.
This pull request includes a simplification to the
Home.razor
file in thesrc/HelloDallE8/Components/Pages
directory. The change removes redundant code that was invoking theSKQuestions.InvokePromptAsync()
method twice. The method is now invoked only once, which should improve the efficiency of the code.Simplification of code:
src/HelloDallE8/Components/Pages/Home.razor
: Removed the redundantTask.Run()
invocation ofSKQuestions.InvokePromptAsync()
. The method is now invoked directly, simplifying the code and potentially improving performance.