hide api key

This commit is contained in:
Andrei Canta 2023-03-21 23:58:48 +02:00
parent aedcef2320
commit 06a5c9ad33

View file

@ -5,10 +5,10 @@ import {
Flex,
List,
Modal,
PasswordInput,
Select,
Stack,
Text,
TextInput,
} from "@mantine/core";
import { useDisclosure } from "@mantine/hooks";
import { notifications } from "@mantine/notifications";
@ -79,7 +79,7 @@ export function SettingsModal({ children }: { children: ReactElement }) {
}}
>
<Flex gap="xs" align="end">
<TextInput
<PasswordInput
label="OpenAI API Key"
placeholder="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
sx={{ flex: 1 }}