Fixed indentation

This commit is contained in:
Imad Saddik 2025-12-14 22:01:12 +01:00
parent ce0a7e3acc
commit cb2926b904
5 changed files with 11 additions and 11 deletions

View File

@ -64,8 +64,8 @@
let recordingSupported = $state(false);
let textareaRef: ChatFormTextarea | undefined = $state(undefined);
let maxWidthClass = $derived(
currentConfig.responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
currentConfig.responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
function getAcceptStringForFileType(fileType: FileTypeCategory): string {
switch (fileType) {

View File

@ -101,10 +101,10 @@
return serverModel;
});
let maxWidthClass = $derived(
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
function handleCopyModel() {
const model = displayedModel();

View File

@ -24,8 +24,8 @@
let allConversationMessages = $state<DatabaseMessage[]>([]);
let maxWidthClass = $derived(
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
function refreshAllMessages() {
const conversation = activeConversation();

View File

@ -12,8 +12,8 @@
let processingDetails = $derived(processingState.getProcessingDetails());
let showSlotsInfo = $derived(isCurrentConversationLoading || config().keepStatsVisible);
let maxWidthClass = $derived(
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
// Track loading state reactively by checking if conversation ID is in loading conversations array
$effect(() => {

View File

@ -88,8 +88,8 @@
let isCurrentConversationLoading = $derived(isLoading());
let maxWidthClass = $derived(
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
config().responsiveChatWidth ? MAX_WIDTH_CLASSES : DEFAULT_MAX_WIDTH_CLASS
);
async function handleDeleteConfirm() {
const conversation = activeConversation();