little fixes

This commit is contained in:
Nikita 2023-08-06 13:43:22 +03:00
parent 54d301da53
commit 2edf710ac6
2 changed files with 2 additions and 0 deletions

View file

@ -106,6 +106,7 @@ export default function PageSettings() {
e.preventDefault(); e.preventDefault();
if ( if (
!pendingSettings.openai_api_key ||
isValidOpenAIApiKey(pendingSettings.openai_api_key) isValidOpenAIApiKey(pendingSettings.openai_api_key)
) { ) {
setIsInvalidAPIKey(false); setIsInvalidAPIKey(false);

View file

@ -41,5 +41,6 @@ $padding: 10px;
margin-right: 10px; margin-right: 10px;
color: rgb(0, 0, 0, 60%); color: rgb(0, 0, 0, 60%);
background-color: rgba(0, 0, 0, 8%); background-color: rgba(0, 0, 0, 8%);
white-space: nowrap;
} }
} }