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!

-
+ {/*
{ > Subscribe -
+
*/} {isMobile && ( <>