diff --git a/src/components/MarkFormField/index.tsx b/src/components/MarkFormField/index.tsx index 02f34cc..9a14989 100644 --- a/src/components/MarkFormField/index.tsx +++ b/src/components/MarkFormField/index.tsx @@ -1,9 +1,8 @@ import { CurrentUserMark } from '../../types/mark.ts' import styles from './style.module.scss' - -import { MARK_TYPE_TRANSLATION } from '../../utils/const.ts' import { findNextIncompleteCurrentUserMark, + getToolboxLabelByMarkType, isCurrentUserMarksComplete, isCurrentValueLast } from '../../utils' @@ -53,6 +52,7 @@ const MarkFormField = ({ : handleCurrentUserMarkChange(findNext()!) } const toggleActions = () => setDisplayActions(!displayActions) + const markLabel = getToolboxLabelByMarkType(selectedMark.mark.type) return (
Add your signature
+Add {markLabel}