sanity-plugin-aprimo

2.0.162.0.17
dist/index.js
~dist/index.jsModified
+3−1
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,4 +1,5 @@
+import "@sanity/ui/styles.css";
 import { DiffFromTo, PatchEvent, definePlugin, defineType, isObjectInputProps, set, unset } from "sanity";
 import { c } from "react/compiler-runtime";
 import { Box, Button, Card, Flex, Grid, Label, Stack, Text } from "@sanity/ui";
 import { useEffect, useState } from "react";
@@ -119,9 +120,10 @@
 				value,
 				layout: "default"
 			}), $[11] = value, $[12] = t6), t5 = t6;
 			break bb0;
-		} else if (value && schemaType.name === "aprimo.asset" && isAprimoAsset(value)) {
+		}
+		if (value && schemaType.name === "aprimo.asset" && isAprimoAsset(value)) {
 			let t6;
 			$[13] !== tenantName || $[14] !== value ? (t6 = /* @__PURE__ */ jsx(AprimoFilePreview, {
 				value,
 				tenantName