summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Mods
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Views/Mods')
-rw-r--r--src/SMAPI.Web/Views/Mods/Index.cshtml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/SMAPI.Web/Views/Mods/Index.cshtml b/src/SMAPI.Web/Views/Mods/Index.cshtml
index 4b6400ad..78eabad7 100644
--- a/src/SMAPI.Web/Views/Mods/Index.cshtml
+++ b/src/SMAPI.Web/Views/Mods/Index.cshtml
@@ -1,7 +1,3 @@
-@{
- #nullable disable
-}
-
@using Humanizer
@using Humanizer.Localisation
@using StardewModdingAPI.Web.Framework
@@ -10,7 +6,7 @@
@{
ViewData["Title"] = "Mod compatibility";
- TimeSpan staleAge = DateTimeOffset.UtcNow - Model.LastUpdated;
+ TimeSpan staleAge = DateTimeOffset.UtcNow - Model!.LastUpdated;
bool hasBeta = Model.BetaVersion != null;
string betaLabel = $"SDV {Model.BetaVersion} only";