({ request })
| 19 | export const links = () => [{ rel: "stylesheet", href: polarisStyles }]; |
| 20 | |
| 21 | export async function loader({ request }) { |
| 22 | const errors = loginErrorMessage(await login(request)); |
| 23 | |
| 24 | return json({ |
| 25 | errors, |
| 26 | polarisTranslations: require(`@shopify/polaris/locales/en.json`), |
| 27 | }); |
| 28 | } |
| 29 | |
| 30 | export async function action({ request }) { |
| 31 | const errors = loginErrorMessage(await login(request)); |
nothing calls this directly
no test coverage detected