Skip to content

Commit 5a6d3ea

Browse files
committed
refactor: 重构代码
1 parent 24c026a commit 5a6d3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Extensions/JSModuleExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static async Task<JSModule> LoadModule(this IJSRuntime jsRuntime, string
4040
{
4141
throw;
4242
}
43-
return module ?? new JSModule(null);
43+
return module;
4444
}
4545

4646
/// <summary>

0 commit comments

Comments
 (0)