MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / handleRemoveCloseIcon

Function handleRemoveCloseIcon

frontend/src/components/playground/index.tsx:1387–1389  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

1385 })
1386 };
1387 const handleRemoveCloseIcon = (url: string) => {
1388 setImgList(imgList.filter((item) => item.url !== url))
1389 }
1390 const handleChange: any = async ({ fileList: newFileList, file }: any) => {
1391 if (!file.url && !file.preview) {
1392 file.preview = await getBase64(file.originFileObj as FileType);

Callers 1

PlaygroundFunction · 0.85

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected