forked from prehistoric-systems/chatpad
hide api key
This commit is contained in:
parent
aedcef2320
commit
06a5c9ad33
1 changed files with 2 additions and 2 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue