From 0bdd5859e5d2360fa0c8c8b37d1d34593a088892 Mon Sep 17 00:00:00 2001
From: Afo
Date: Sat, 31 Aug 2024 20:51:20 -0700
Subject: [PATCH] removed subscribe for now
---
packages/client/src/components/Layout/Hero.tsx | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/packages/client/src/components/Layout/Hero.tsx b/packages/client/src/components/Layout/Hero.tsx
index bc0ef67..e1a39a3 100644
--- a/packages/client/src/components/Layout/Hero.tsx
+++ b/packages/client/src/components/Layout/Hero.tsx
@@ -1,14 +1,15 @@
-import { usePWA } from "@/providers/PWAProvider";
+import toast from "react-hot-toast";
import React, { useState } from "react";
import { DeviceFrameset } from "react-device-frameset";
import "react-device-frameset/styles/marvel-devices.min.css";
-import toast from "react-hot-toast";
+
+import { usePWA } from "@/providers/PWAProvider";
type SubscribeState = "idle" | "subscribing" | "subscribed" | "error";
export const Hero: React.FC = () => {
const { isMobile, platform } = usePWA();
- const [state, setSubscribeState] = useState("idle");
+ const [_state, setSubscribeState] = useState("idle");
function handleSubscribe(e: React.FormEvent) {
e.preventDefault();
@@ -67,7 +68,7 @@ export const Hero: React.FC = () => {
Open the website on your phone to get started!
- */}
{isMobile && (
<>