diff --git a/frontend/src/sources/duplicates.jsx b/frontend/src/sources/duplicates.jsx index f8de92a..e276e19 100644 --- a/frontend/src/sources/duplicates.jsx +++ b/frontend/src/sources/duplicates.jsx @@ -1,6 +1,5 @@ import { useState } from "react"; import { api } from "../api.js"; -import { ErrorNote } from "../pages/widgets.jsx"; // A document that is already present around the target. The server decides; this only asks and explains. export function presentKey(source, connectorId, externalId) { @@ -115,7 +114,7 @@ export function useExternalPlacement({ context, placement, onPlaced }) { onInsert={() => resolve({ duplicate: "insert" })} onBind={(elementId) => resolve({ bind_element_id: elementId })} /> - + {error ?

{error}

: null} ) : null; return { place, panel }; diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 4b23c78..e7792d3 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1844,10 +1844,3 @@ button.pick-tree__twist { .duplicate-list { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; } .duplicate-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; } .duplicate-list select { max-width: 100%; } - -.duplicate-note { margin: 0; color: var(--text); font-size: 13px; font-weight: 600; } -.duplicate-panel { border: 1px solid var(--border); background: var(--surface2); } -.duplicate-panel ul { margin: 0; padding-left: 18px; } -.duplicate-list { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; } -.duplicate-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; } -.duplicate-list select { max-width: 100 \ No newline at end of file