sanity-plugin-bynder-input
4.1.44.1.5
dist/index.js~
dist/index.jsModified+1−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -2,9 +2,9 @@
import { c } from "react/compiler-runtime";
import { Box, Button, Flex } from "@sanity/ui";
import { lazy, useState, useTransition } from "react";
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
-const VideoPlayer = lazy(() => import("./VideoPlayer.js")), BynderModalLayout = lazy(() => import("./BynderModalLayout.js")), getPreviewUrl = (asset, addInfo) => {
+const VideoPlayer = lazy(() => import("./_chunks-es/VideoPlayer.js")), BynderModalLayout = lazy(() => import("./_chunks-es/BynderModalLayout.js")), getPreviewUrl = (asset, addInfo) => {
switch (asset.type) {
case "VIDEO": return asset.previewUrls[0];
default: return addInfo.selectedFile ? addInfo.selectedFile?.url : asset.webImage.url;
}