@shopify/react-network
Version:
A collection of components that allow you to set common HTTP headers from within your React application.
11 lines (10 loc) • 335 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var network_1 = require("@shopify/network");
var hooks_1 = require("../hooks");
function FormAction(_a) {
var sources = _a.sources;
hooks_1.useCspDirective(network_1.CspDirective.FormAction, sources);
return null;
}
exports.default = FormAction;