MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / removeTag

Function removeTag

frontend/src/hooks/useInstanceTag.ts:25–31  ·  view source on GitHub ↗
(tag: string)

Source from the content-addressed store, hash-verified

23 const { execute, isLoading } = updateInstanceConfig();
24
25 const removeTag = (tag: string) => {
26 tag = tag.trim();
27 instanceTags.value.splice(
28 instanceTags.value.findIndex((v) => v === tag),
29 1
30 );
31 };
32
33 const addTag = (tag: string) => {
34 tag = tag.trim();

Callers

nothing calls this directly

Calls 1

searchFnFunction · 0.85

Tested by

no test coverage detected