({ request })
| 6 | import { authenticate } from "../shopify.server.js"; |
| 7 | |
| 8 | export const loader = async ({ request }) => { |
| 9 | await authenticate.admin(request); |
| 10 | |
| 11 | return { apiKey: process.env.SHOPIFY_API_KEY || "" }; |
| 12 | }; |
| 13 | |
| 14 | export default function App() { |
| 15 | const { apiKey } = useLoaderData(); |
nothing calls this directly
no outgoing calls
no test coverage detected