[Refactor] Change aliases and move test_data.js.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useStore_IsMainPageCompactMode } from "@store";
|
||||
import { useStdoutToPython } from "@logics/useStdoutToPython";
|
||||
import { useStdoutToPython } from "@useStdoutToPython";
|
||||
|
||||
export const useIsMainPageCompactMode = () => {
|
||||
const { asyncStdoutToPython } = useStdoutToPython();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useStore_SelectedPresetTabNumber, useStore_EnableMultiTranslation, useStore_SelectedYourLanguages, useStore_SelectedTargetLanguages, useStore_TranslationEngines, useStore_SelectedTranslationEngines } from "@store";
|
||||
import { useStdoutToPython } from "@logics/useStdoutToPython";
|
||||
import { useStdoutToPython } from "@useStdoutToPython";
|
||||
|
||||
export const useLanguageSettings = () => {
|
||||
const { asyncStdoutToPython } = useStdoutToPython();
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
useStore_TranscriptionReceiveStatus,
|
||||
useStore_ForegroundStatus,
|
||||
} from "@store";
|
||||
import { useStdoutToPython } from "@logics/useStdoutToPython";
|
||||
import { useStdoutToPython } from "@useStdoutToPython";
|
||||
|
||||
export const useMainFunction = () => {
|
||||
const appWindow = store.appWindow;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { store } from "@store";
|
||||
import { useStore_MessageInputBoxRatio } from "@store";
|
||||
import { useStdoutToPython } from "@logics/useStdoutToPython";
|
||||
import { useStdoutToPython } from "@useStdoutToPython";
|
||||
import { clampMinMax } from "@utils";
|
||||
export const useMessageInputBoxRatio = () => {
|
||||
const appWindow = store.appWindow;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useStore_SelectableLanguageList } from "@store";
|
||||
import { useStdoutToPython } from "@logics/useStdoutToPython";
|
||||
import { useStdoutToPython } from "@useStdoutToPython";
|
||||
|
||||
export const useSelectableLanguageList = () => {
|
||||
const { asyncStdoutToPython } = useStdoutToPython();
|
||||
|
||||
Reference in New Issue
Block a user