mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Disable build warning in layout (#3028)
This commit is contained in:
parent
3f176a6b6b
commit
274be7c1bc
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue