From ee77f38cdb324cbcf12518490df77fc9e6b89282 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 6 Nov 2025 22:52:02 +0000
Subject: Improve gallery scroll indicators and format code

Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com>
---
 src/frontend/app/root.tsx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'src/frontend/app/root.tsx')

diff --git a/src/frontend/app/root.tsx b/src/frontend/app/root.tsx
index 9bc69e4..6bb3da6 100644
--- a/src/frontend/app/root.tsx
+++ b/src/frontend/app/root.tsx
@@ -102,12 +102,10 @@ export function Layout({ children }: { children: React.ReactNode }) {
 import NavBar from "./components/NavBar";
 
 export default function App() {
-  if ('serviceWorker' in navigator) {
-    navigator.serviceWorker
-      .register('/pwa-worker.js')
-      .catch((error) => {
-        console.error('Error registering SW:', error);
-      });
+  if ("serviceWorker" in navigator) {
+    navigator.serviceWorker.register("/pwa-worker.js").catch((error) => {
+      console.error("Error registering SW:", error);
+    });
   }
 
   return (
-- 
cgit v1.3

