Shopify React Router Headers Export Codemod
This is a codemod that automatically adds the required headers export to pages using authenticate.admin().
Using this codemod
You can run this codemod with the following command:
bash
Before
tsx
After
tsx