(e: any)
| 46 | const { data: collections = [] } = useCollections(); |
| 47 | |
| 48 | const setCollection = (e: any) => { |
| 49 | if (e?.__isNew__) e.value = undefined; |
| 50 | setLink({ |
| 51 | ...link, |
| 52 | collection: { id: e?.value, name: e?.label }, |
| 53 | }); |
| 54 | }; |
| 55 | |
| 56 | const setTags = (selectedOptions: any = []) => { |
| 57 | const tagNames = selectedOptions.map((option: any) => ({ |
no outgoing calls
no test coverage detected