UNPKG

335 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var network_1 = require("@shopify/network");
4var hooks_1 = require("../hooks");
5function FrameSource(_a) {
6 var sources = _a.sources;
7 hooks_1.useCspDirective(network_1.CspDirective.FrameSrc, sources);
8 return null;
9}
10exports.default = FrameSource;