[Update] To be switchable between ConfigPage and MainPage.

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

View File

@@ -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 (