sanity-plugin-dashboard-widget-netlify
3.0.173.0.18
dist/index.js~
dist/index.jsModified+2−2
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,7 +1,7 @@
import "@sanity/ui/styles.css";
-import { DashboardWidgetContainer } from "@sanity/dashboard";
import { c } from "react/compiler-runtime";
+import { DashboardWidgetContainer } from "@sanity/dashboard";
import { Box, Button, Card, Flex, Label, Spinner, Stack, Text } from "@sanity/ui";
import { styled } from "styled-components";
import { useEffect, useRef, useState } from "react";
import { jsx, jsxs } from "react/jsx-runtime";
@@ -184,9 +184,9 @@
}), $[8] = t0, $[9] = t1), t1;
}
const ContentCard = styled(Card).withConfig({
displayName: "ContentCard",
- componentId: "sc-4pxxs-0"
+ componentId: "sc-a1c2f2-0"
})`min-height:66px;`;
function NetlifyWidget(props) {
let $ = c(16), { title, description, isLoading, sites, onDeploy } = props, t0 = isLoading ? void 0 : "https://app.netlify.com/account/sites", t1;
$[0] !== isLoading || $[1] !== t0 ? (t1 = /* @__PURE__ */ jsx(Flex, {