fix(frontend): remove unused removeConstraint function (TS6133)
This commit is contained in:
parent
6da86dd0a7
commit
0b9e3553a7
1 changed files with 0 additions and 4 deletions
|
|
@ -755,10 +755,6 @@ function addConstraint(value: string) {
|
|||
constraintInput.value = ''
|
||||
}
|
||||
|
||||
function removeConstraint(tag: string) {
|
||||
recipesStore.constraints = recipesStore.constraints.filter((c) => c !== tag)
|
||||
}
|
||||
|
||||
function onConstraintKey(e: KeyboardEvent) {
|
||||
if (e.key === 'Enter' || e.key === ',') {
|
||||
e.preventDefault()
|
||||
|
|
|
|||
Loading…
Reference in a new issue