[Refactor] Change the way import. and also move useWindow.js to logics.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useEffect, useRef } from "react";
|
||||
import styles from "./MainWindow.module.scss";
|
||||
|
||||
import { SidebarSection } from "./sidebar_section/SidebarSection";
|
||||
import { MainSection } from "./main_section/MainSection";
|
||||
import { useStartPython } from "@logics/useStartPython";
|
||||
@@ -27,7 +28,7 @@ export const MainWindow = () => {
|
||||
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useIsOpenedConfigWindow } from "@store";
|
||||
import { useWindow } from "@utils/useWindow";
|
||||
import { useWindow } from "@logics/useWindow";
|
||||
|
||||
export const MainWindowCover = () => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
Reference in New Issue
Block a user