Remove catalog edit notice from edit inventory modal
Build and push image / build (push) Successful in 57s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-04 19:27:45 -04:00
parent b5141f139d
commit e50e8ef1fe
@@ -2,7 +2,7 @@ import { useState } from "react";
import { useMutation, useQueryClient } from "@tanstack/react-query"; import { useMutation, useQueryClient } from "@tanstack/react-query";
import type { Bootstrap, Item } from "../../types.js"; import type { Bootstrap, Item } from "../../types.js";
import { TYPES } from "../../types.js"; import { TYPES } from "../../types.js";
import { fmt, TYPE_GLYPHS } from "../../format.js"; import { fmt } from "../../format.js";
import { api } from "../../api.js"; import { api } from "../../api.js";
import { Btn, Field, Input, Select } from "../primitives/index.js"; import { Btn, Field, Input, Select } from "../primitives/index.js";
import { ModalBackdrop, ModalHeader, ModalFooter } from "./ModalChrome.js"; import { ModalBackdrop, ModalHeader, ModalFooter } from "./ModalChrome.js";
@@ -106,30 +106,6 @@ export function EditInventoryFlow({
/> />
<div style={{ padding: 32 }}> <div style={{ padding: 32 }}>
<div
style={{
marginBottom: 24,
padding: "10px 14px",
background: "var(--bg-2)",
border: "1px solid var(--line)",
borderRadius: "var(--r-sm)",
fontSize: 12,
color: "var(--ink-3)",
display: "flex",
alignItems: "center",
gap: 8,
}}
>
<span style={{ fontFamily: "var(--serif)", fontSize: 16 }}>
{TYPE_GLYPHS[item.type]}
</span>
<span>
Editing this physical instance of{" "}
<strong style={{ color: "var(--ink-2)" }}>{item.name}</strong> ({item.type} ·{" "}
{item.kind}). To change the product (SKU, name, type), edit the catalog entry.
</span>
</div>
<div className="smallcaps" style={{ color: "var(--ink-3)", marginBottom: 16 }}> <div className="smallcaps" style={{ color: "var(--ink-3)", marginBottom: 16 }}>
Source Source
</div> </div>