Skip to content

Commit

Permalink
fix(llm): focus on the Stellar memo input too
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Dec 12, 2024
1 parent b52c7fa commit 9211ec8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { AnimatedInputSelect } from "@ledgerhq/native-ui";
import type { MemoTagInputProps } from "LLM/features/MemoTag/types";
import { MemoTypeDrawer, MEMO_TYPES } from "./MemoTypeDrawer";

export default ({ onChange }: MemoTagInputProps<StellarTransaction>) => {
export default ({ onChange, ...inputProps }: MemoTagInputProps<StellarTransaction>) => {
const { t } = useTranslation();

const [memoType, setMemoType] = useState<MemoType>("NO_MEMO");
Expand Down Expand Up @@ -43,6 +43,7 @@ export default ({ onChange }: MemoTagInputProps<StellarTransaction>) => {
return (
<>
<AnimatedInputSelect
{...inputProps}
placeholder={t("send.summary.memo.value")}
value={memoValue}
onChange={handleChangeValue}
Expand Down

0 comments on commit 9211ec8

Please sign in to comment.