mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Lint
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import { addChat, cleanSettingValue, setChatSettingValue } from './Storage.svelte'
|
||||
import type { Chat, ChatSetting, ChatSettings, SettingPrompt } from './Types.svelte'
|
||||
import { autoGrowInputOnEvent } from './Util.svelte'
|
||||
import { replace } from 'svelte-spa-router';
|
||||
import { replace } from 'svelte-spa-router'
|
||||
|
||||
export let setting:ChatSetting
|
||||
export let chatSettings:ChatSettings
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
import { afterUpdate } from 'svelte'
|
||||
import ChatSettingField from './ChatSettingField.svelte'
|
||||
import { getModelMaxTokens } from './Stats.svelte'
|
||||
import { replace } from 'svelte-spa-router';
|
||||
import { replace } from 'svelte-spa-router'
|
||||
|
||||
export let chatId:number
|
||||
export const show = () => { showSettings() }
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
return chatId
|
||||
}
|
||||
|
||||
export const addChat = (profile:ChatSettings|undefined=undefined): number => {
|
||||
export const addChat = (profile:ChatSettings|undefined = undefined): number => {
|
||||
const chats = get(chatsStorage)
|
||||
|
||||
// Find the max chatId
|
||||
|
||||
Reference in New Issue
Block a user