mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 15:14:49 +01:00
Disable build warning in layout (#3028)
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
@functions {
|
||||
// The .NET function for inserting classes requires this to be async
|
||||
// ReSharper disable once CSharpWarnings::CS1998
|
||||
#pragma warning disable CS1998
|
||||
private async Task Logo(string classes = "")
|
||||
{
|
||||
<a href="~/" class="navbar-brand py-2 js-scroll-trigger @classes">
|
||||
@@ -30,6 +32,7 @@
|
||||
}
|
||||
</a>
|
||||
}
|
||||
#pragma warning restore CS1998
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user