diff --git a/app/routes/_index/route.tsx b/app/routes/_index/route.tsx index fd3284f..8e8b23c 100644 --- a/app/routes/_index/route.tsx +++ b/app/routes/_index/route.tsx @@ -1,8 +1,6 @@ import type { LoaderFunctionArgs } from "react-router"; import { redirect, Form, useLoaderData } from "react-router"; -import { login } from "../../shopify.server"; - import styles from "./styles.module.css"; export const loader = async ({ request }: LoaderFunctionArgs) => { @@ -12,7 +10,9 @@ export const loader = async ({ request }: LoaderFunctionArgs) => { throw redirect(`/app?${url.searchParams.toString()}`); } - return { showForm: Boolean(login) }; + // App Store requirement 2.3.1: never ask merchants to type their shop domain. Installs start from + // the Shopify App Store or admin; this page is only a public landing page. + return { showForm: false }; }; export default function App() { @@ -37,6 +37,9 @@ export default function App() { )} +
+ Install Offerlyst from the Shopify App Store. Privacy policy ยท Terms +