Skip to content

Commit

Permalink
docs: Deprecate getPlayerLabel function
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Dec 11, 2023
1 parent b02cc7c commit 348a2ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/util/label.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export const LABEL_ALPHABETIC = "ALPHABETIC";
export const LABEL_CUSTOM = "CUSTOM";
export const LABEL_ROMAN = "ROMAN";

// Get a player label, based on index, labelstyle and customLabels
/**
* @deprecated This function is deprecated and will be removed in the future.
* See also https://github.com/Amsterdam-Music-Lab/MUSCLE/pull/640
* Get a player label, based on index, labelstyle and customLabels
*/
export const getPlayerLabel = (index, labelStyle, customLabels) => {
index = parseInt(index);

Expand Down

0 comments on commit 348a2ff

Please sign in to comment.