diff --git a/Groceries.Data/Groceries.Data.csproj b/Groceries.Data/Groceries.Data.csproj
index 2a2119d..a5cb5cf 100644
--- a/Groceries.Data/Groceries.Data.csproj
+++ b/Groceries.Data/Groceries.Data.csproj
@@ -9,10 +9,10 @@
-
-
+
+
-
+
diff --git a/Groceries/Components/Layout.razor b/Groceries/Components/Layout.razor
index f250da7..c97c20f 100644
--- a/Groceries/Components/Layout.razor
+++ b/Groceries/Components/Layout.razor
@@ -6,6 +6,7 @@
+
diff --git a/Groceries/libman.json b/Groceries/libman.json
index 68ea9dc..a226e90 100644
--- a/Groceries/libman.json
+++ b/Groceries/libman.json
@@ -3,7 +3,7 @@
"defaultProvider": "unpkg",
"libraries": [
{
- "library": "@hotwired/turbo@7.3.0",
+ "library": "@hotwired/turbo@8.0.4",
"destination": "wwwroot/lib/hotwired/turbo/"
},
{
diff --git a/Groceries/wwwroot/js/main.js b/Groceries/wwwroot/js/main.js
index 3126f46..820be20 100644
--- a/Groceries/wwwroot/js/main.js
+++ b/Groceries/wwwroot/js/main.js
@@ -19,19 +19,3 @@ document.addEventListener("turbo:render", () => {
timeout = setTimeout(() => document.getElementById("sidebarToggle").checked = false, 500);
}
});
-
-let transition;
-document.addEventListener("turbo:before-render", async event => {
- if (document.startViewTransition) {
- event.preventDefault();
-
- if (transition == undefined) {
- transition = document.startViewTransition(() => event.detail.resume());
- await transition.finished;
- transition = undefined;
- } else {
- await transition.finished;
- event.detail.resume();
- }
- }
-});