mirror of
https://github.com/noodlapp/noodl.git
synced 2026-01-11 14:52:53 +01:00
fix: syntax error
This commit is contained in:
@@ -7,6 +7,7 @@ import { verifyOpenAiApiKey } from '@noodl-models/AiAssistant/api';
|
|||||||
import { PrimaryButton, PrimaryButtonSize, PrimaryButtonVariant } from '@noodl-core-ui/components/inputs/PrimaryButton';
|
import { PrimaryButton, PrimaryButtonSize, PrimaryButtonVariant } from '@noodl-core-ui/components/inputs/PrimaryButton';
|
||||||
import { Box } from '@noodl-core-ui/components/layout/Box';
|
import { Box } from '@noodl-core-ui/components/layout/Box';
|
||||||
import { VStack } from '@noodl-core-ui/components/layout/Stack';
|
import { VStack } from '@noodl-core-ui/components/layout/Stack';
|
||||||
|
import { PropertyPanelButton } from '@noodl-core-ui/components/property-panel/PropertyPanelButton';
|
||||||
import { PropertyPanelRow } from '@noodl-core-ui/components/property-panel/PropertyPanelInput';
|
import { PropertyPanelRow } from '@noodl-core-ui/components/property-panel/PropertyPanelInput';
|
||||||
import { PropertyPanelPasswordInput } from '@noodl-core-ui/components/property-panel/PropertyPanelPasswordInput';
|
import { PropertyPanelPasswordInput } from '@noodl-core-ui/components/property-panel/PropertyPanelPasswordInput';
|
||||||
import { PropertyPanelSelectInput } from '@noodl-core-ui/components/property-panel/PropertyPanelSelectInput';
|
import { PropertyPanelSelectInput } from '@noodl-core-ui/components/property-panel/PropertyPanelSelectInput';
|
||||||
@@ -16,7 +17,6 @@ import { Text } from '@noodl-core-ui/components/typography/Text';
|
|||||||
import { Title, TitleSize } from '@noodl-core-ui/components/typography/Title';
|
import { Title, TitleSize } from '@noodl-core-ui/components/typography/Title';
|
||||||
|
|
||||||
import { ToastLayer } from '../../../ToastLayer/ToastLayer';
|
import { ToastLayer } from '../../../ToastLayer/ToastLayer';
|
||||||
import { PropertyPanelButton } from '@noodl-core-ui/components/property-panel/PropertyPanelButton';
|
|
||||||
|
|
||||||
export const AI_ASSISTANT_ENABLED_SUGGESTIONS_KEY = 'aiAssistant.enabledSuggestions';
|
export const AI_ASSISTANT_ENABLED_SUGGESTIONS_KEY = 'aiAssistant.enabledSuggestions';
|
||||||
|
|
||||||
@@ -40,6 +40,7 @@ export function OpenAiSection() {
|
|||||||
} else {
|
} else {
|
||||||
OpenAiStore.setIsAiApiKeyVerified(false);
|
OpenAiStore.setIsAiApiKeyVerified(false);
|
||||||
ToastLayer.showError('OpenAI API Key is invalid!');
|
ToastLayer.showError('OpenAI API Key is invalid!');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user