use newer Resource overload methods

This commit is contained in:
sbwalker
2025-09-16 12:50:01 -04:00
parent c38dc69d3b
commit 503134d38c
3 changed files with 4 additions and 4 deletions

View File

@ -94,7 +94,7 @@ else
public override List<Resource> Resources => new List<Resource>()
{
new Resource { ResourceType = ResourceType.Stylesheet, Url = ModulePath() + "Module.css" }
new Stylesheet(ModulePath() + "Module.css")
};
protected override async Task OnInitializedAsync()