Skip to content

Commit 9e6ceac

Browse files
committed
fix: prettier
1 parent 756fe3f commit 9e6ceac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
4141

4242
// Register service worker for PWA support
4343
if ("serviceWorker" in navigator) {
44-
const isHttpProtocol = window.location.protocol === "http:" || window.location.protocol === "https:";
44+
const isHttpProtocol =
45+
window.location.protocol === "http:" || window.location.protocol === "https:";
4546
if (isHttpProtocol) {
4647
window.addEventListener("load", () => {
4748
navigator.serviceWorker

0 commit comments

Comments
 (0)