chore: updated inputs for restore from backup 6b8fba53
Steve · 2025-11-22 22:35 2 file(s) · +7 −4
src/App.tsx +3 −2
399 399
						</DialogDescription>
400 400
					</DialogHeader>
401 401
					<div className="space-y-4">
402 -
						<textarea
403 -
							className="w-full p-4 bg-muted rounded-lg font-mono text-sm resize-none min-h-[100px]"
402 +
						<Input
403 +
							type="password"
404 +
							className="w-full p-4 bg-muted rounded-lg font-mono text-sm resize-none"
404 405
							placeholder="Enter your backup phrase here..."
405 406
							value={restoreMnemonic}
406 407
							onChange={(e) => setRestoreMnemonic(e.target.value)}
src/components/nav-user.tsx +4 −2
48 48
import * as Evolu from "@evolu/common";
49 49
import { AboutDialog } from "@/components/about-dialog";
50 50
import { formatTypeError } from "@/lib/format-error";
51 +
import { Input } from "./ui/input";
51 52
52 53
export function NavUser() {
53 54
	const { isMobile } = useSidebar();
343 344
						</DialogDescription>
344 345
					</DialogHeader>
345 346
					<div className="space-y-4">
346 -
						<textarea
347 -
							className="w-full p-4 bg-muted rounded-lg font-mono text-sm resize-none min-h-[100px]"
347 +
						<Input
348 +
							type="password"
349 +
							className="w-full p-4 bg-muted rounded-lg font-mono text-sm resize-none"
348 350
							placeholder="Enter your backup phrase here..."
349 351
							value={restoreMnemonic}
350 352
							onChange={(e) => setRestoreMnemonic(e.target.value)}