summaryrefslogtreecommitdiff
path: root/packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx')
-rw-r--r--packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx b/packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx
index 2ff23dfd3..a0e1d6ae4 100644
--- a/packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx
+++ b/packages/auditor-backoffice-ui/src/components/form/JumpToElementById.tsx
@@ -3,7 +3,7 @@ import { useTranslationContext } from "@gnu-taler/web-util/browser";
import { h, VNode } from "preact";
import { useState } from "preact/hooks";
-export function JumpToElementById({ testIfExist, onSelect, palceholder, description }: { palceholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise<any>, onSelect: (id: string) => void }): VNode {
+export function JumpToElementById({ testIfExist, onSelect, placeholder, description }: { placeholder: TranslatedString, description: TranslatedString, testIfExist: (id: string) => Promise<any>, onSelect: (id: string) => void }): VNode {
const { i18n } = useTranslationContext()
const [error, setError] = useState<string | undefined>(
@@ -35,7 +35,7 @@ export function JumpToElementById({ testIfExist, onSelect, palceholder, descript
type="text"
value={id ?? ""}
onChange={(e) => setId(e.currentTarget.value)}
- placeholder={palceholder}
+ placeholder={placeholder}
/>
{error && <p class="help is-danger">{error}</p>}
</div>