mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-24 21:38:09 +02:00
chore: ran linting
This commit is contained in:
parent
ceace003aa
commit
c7409c8995
48 changed files with 342 additions and 187 deletions
|
|
@ -16,12 +16,7 @@ interface ApiBaseUrlFieldProps {
|
|||
}
|
||||
|
||||
/** Shared API Base URL input. The prefilled default is passed in via `value`. */
|
||||
export function ApiBaseUrlField({
|
||||
value,
|
||||
onChange,
|
||||
placeholder,
|
||||
hint,
|
||||
}: ApiBaseUrlFieldProps) {
|
||||
export function ApiBaseUrlField({ value, onChange, placeholder, hint }: ApiBaseUrlFieldProps) {
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
<Label>API Base URL</Label>
|
||||
|
|
|
|||
|
|
@ -95,7 +95,8 @@ export function ProviderConnectDialog({
|
|||
})();
|
||||
|
||||
const canRefreshModels = !isAzure && !isVertex && (!isBedrock || canSubmit);
|
||||
const hasEnabledModel = previewModels.some((model) => model.enabled) || Boolean(currentDraft.seedModelId);
|
||||
const hasEnabledModel =
|
||||
previewModels.some((model) => model.enabled) || Boolean(currentDraft.seedModelId);
|
||||
const canConnect = canSubmit && hasEnabledModel;
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue