[Update] To be switchable between ConfigPage and MainPage.

This commit is contained in:
Sakamoto Shiina committed 2024-09-01 19:48:58 +09:00
1 parent 8f2c81a7d7
commit 3446862eda
6 files changed
+130 -21

No files matched your search

@@ -1,14 +1,12 @@
import styles from "./OpenSettings.module.scss";
import { useIsOpenedConfigPage } from "@store";
import ConfigurationSvg from "@images/configuration.svg?react";
// import { useWindow } from "@logics/useWindow";
export const OpenSettings = () => {
// const { createConfigPage } = useWindow();
const { updateIsOpenedConfigPage } = useIsOpenedConfigPage();
const openConfigPage = () => {
// createConfigPage();
updateIsOpenedConfigPage(true);
};
return (