fix wrap
This commit is contained in:
parent
d79e7ec11e
commit
0231530bcd
|
|
@ -1,11 +1,10 @@
|
|||
|
||||
import { activity } from ".";
|
||||
import { SAction } from "../actions";
|
||||
import { SyncConnection } from "../type";
|
||||
export const code_open: SAction["code"]["open"] = async function (
|
||||
this: SyncConnection,
|
||||
this: SyncConnection
|
||||
) {
|
||||
let result = null as unknown as Awaited<
|
||||
ReturnType<SAction["code"]["open"]>
|
||||
>;
|
||||
let result = null as unknown as Awaited<ReturnType<SAction["code"]["open"]>>;
|
||||
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,13 +2,11 @@ import { MultiBackend, getBackendOptions } from "@minoru/react-dnd-treeview";
|
|||
import { DndProvider } from "react-dnd";
|
||||
import { useGlobal } from "web-utils";
|
||||
import { EDGlobal } from "./logic/ed-global";
|
||||
import { EdApi } from "./panel/header/left/api";
|
||||
import { EdSiteJS } from "./panel/header/left/js";
|
||||
import { EdSitePicker } from "./panel/header/left/site";
|
||||
import { EdTreeBody } from "./panel/tree/body";
|
||||
import { EdTreeSearch } from "./panel/tree/search";
|
||||
import { EdSitePicker } from "./panel/header/left/site";
|
||||
import { EdApi } from "./panel/header/left/api";
|
||||
import { EdExport } from "./panel/header/left/export";
|
||||
import { EdNpm } from "./panel/header/left/npm";
|
||||
import { EdSiteJS } from "./panel/header/left/js";
|
||||
|
||||
export const EdLeft = () => {
|
||||
const p = useGlobal(EDGlobal, "EDITOR");
|
||||
|
|
@ -30,9 +28,7 @@ export const EdLeft = () => {
|
|||
<EdSitePicker />
|
||||
<div className="flex items-stretch space-x-1 pl-2">
|
||||
<EdSiteJS />
|
||||
<EdNpm />
|
||||
<EdApi />
|
||||
{/* <EdExport /> */}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -35,6 +35,11 @@ export const FieldColor: FC<{
|
|||
local.render();
|
||||
};
|
||||
|
||||
if (typeof local.val === "string" && local.val.length > 10) {
|
||||
update("");
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<FieldColorPicker
|
||||
value={local.val}
|
||||
|
|
|
|||
Loading…
Reference in New Issue