mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-09 16:07:49 +00:00
refactor(quick-settings-panel): restructure QuickSettingsPanel import and create index file
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
import QuickSettingsPanelView from './quick-settings-panel/view/QuickSettingsPanelView';
|
|
||||||
|
|
||||||
export default function QuickSettingsPanel() {
|
|
||||||
return <QuickSettingsPanelView />;
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import React, { useCallback, useEffect, useRef } from 'react';
|
import React, { useCallback, useEffect, useRef } from 'react';
|
||||||
import QuickSettingsPanel from '../../QuickSettingsPanel';
|
import { QuickSettingsPanel } from '../../quick-settings-panel';
|
||||||
import { useTasksSettings } from '../../../contexts/TasksSettingsContext';
|
import { useTasksSettings } from '../../../contexts/TasksSettingsContext';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import ChatMessagesPane from './subcomponents/ChatMessagesPane';
|
import ChatMessagesPane from './subcomponents/ChatMessagesPane';
|
||||||
@@ -11,6 +11,7 @@ import { useChatRealtimeHandlers } from '../hooks/useChatRealtimeHandlers';
|
|||||||
import { useChatComposerState } from '../hooks/useChatComposerState';
|
import { useChatComposerState } from '../hooks/useChatComposerState';
|
||||||
import type { Provider } from '../types/types';
|
import type { Provider } from '../types/types';
|
||||||
|
|
||||||
|
|
||||||
type PendingViewSession = {
|
type PendingViewSession = {
|
||||||
sessionId: string | null;
|
sessionId: string | null;
|
||||||
startedAt: number;
|
startedAt: number;
|
||||||
|
|||||||
1
src/components/quick-settings-panel/index.ts
Normal file
1
src/components/quick-settings-panel/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export { default as QuickSettingsPanel } from './view/QuickSettingsPanelView';
|
||||||
Reference in New Issue
Block a user