MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / handleIncludeBaseGameChange

Function handleIncludeBaseGameChange

src/nodeGraph/nodes/renderers.tsx:961–969  ·  view source on GitHub ↗
(event: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

959 };
960
961 const handleIncludeBaseGameChange = (event: React.ChangeEvent<HTMLInputElement>) => {
962 const newValue = event.target.checked;
963 setIncludeBaseGame(newValue);
964
965 const updateEvent = {
966 detail: { nodeId: id, includeBaseGame: newValue },
967 };
968 dispatchNodeDataUpdate(data, updateEvent.detail);
969 };
970
971 return (
972 <div className="bg-gray-700 border-2 border-purple-500 rounded-lg p-4 min-w-[250px]">

Callers

nothing calls this directly

Calls 1

dispatchNodeDataUpdateFunction · 0.90

Tested by

no test coverage detected