move code

This commit is contained in:
2026-07-15 17:46:11 +08:00
parent 43c290fa7e
commit a3ebb6670f
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ import HomeView, {
type HomeAgentModeItem,
type HomeAttachmentDraft,
} from './view/home';
import { useLauncherHomeDraftStore } from './stores/useHomeDraftStore';
import { useLauncherHomeDraftStore } from './view/home/useHomeDraftStore';
import {
getClientProfileDashboard,
getClientProfileWalletLedger,
@@ -1,6 +1,6 @@
import { createContext } from 'react';
import type { HomeAttachmentDraft } from '../../../../stores/useHomeDraftStore';
import type { HomeAttachmentDraft } from '../../useHomeDraftStore';
const AttachmentContext = createContext({
attachments: new Map<string, HomeAttachmentDraft>(),
@@ -23,7 +23,7 @@ import { useEffect, useMemo, useRef } from 'react';
import type {
HomeAttachmentDraft,
RichText,
} from '../../../../stores/useHomeDraftStore';
} from '../../useHomeDraftStore';
import AttachmentContext from './attachmentContext';
import {
$createAttachmentNode,
@@ -1,7 +1,7 @@
import type {
HomeAttachmentDraft,
RichText,
} from '../../../../stores/useHomeDraftStore';
} from '../../useHomeDraftStore';
function ordinalSuffix(index: number) {
if (index % 100 >= 11 && index % 100 <= 13) return 'th';
@@ -13,7 +13,7 @@ import {
type HomeAgentMode,
type HomeDraft,
useLauncherHomeDraftStore,
} from '../../stores/useHomeDraftStore';
} from './useHomeDraftStore';
import RichInputArea from './components/RichInputArea';
import { richTextToPrompt } from './components/RichInputArea/richTextToPrompt';
import { useHomeShowcase } from './useHomeShowcase';
@@ -23,7 +23,7 @@ export type {
HomeAgentMode,
HomeAttachmentDraft,
HomeDraft,
} from '../../stores/useHomeDraftStore';
} from './useHomeDraftStore';
export type HomeAgentModeItem = {
mode: HomeAgentMode;