Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import {CsrfTokenContext} from '@shopify/react-csrf';
import {createUniversalProvider} from '@shopify/react-universal-provider';
export const CsrfUniversalProvider = createUniversalProvider<
string | undefined
>('csrf-token', CsrfTokenContext);