Skip to content

Commit 844e4c2

Browse files
committed
Tok bort getDetailCount
1 parent 6c137cf commit 844e4c2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/chartbuilder/EventParameterSelector.tsx

-9
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,6 @@ const getGroupedParameters = () => {
282282
return uniqueEvents.size;
283283
};
284284

285-
const getDetailCount = () => {
286-
const uniqueParams = new Set();
287-
parameters.forEach(param => {
288-
const baseName = param.key.split('.')[1]; // Get parameter name without event prefix
289-
uniqueParams.add(baseName);
290-
});
291-
return uniqueParams.size;
292-
};
293-
294285
// Helper function to get parameter descriptions
295286
const getParamDescription = (key: string): string => {
296287
switch(key) {

0 commit comments

Comments
 (0)