[Refactor]

Remove unused codes and a file.
Rename file format .jsx to .js that was not intended.
This commit is contained in:
Sakamoto Shiina
2025-06-19 00:34:46 +09:00
parent 7e6ffad5fe
commit 65b5ffb2fa
3 changed files with 0 additions and 31 deletions

View File

@@ -1,28 +0,0 @@
// import { useStore_RestoreWindowGeometry } from "@store";
// import { useStdoutToPython } from "@useStdoutToPython";
// export const useRestoreWindowGeometry = () => {
// const { asyncStdoutToPython } = useStdoutToPython();
// const { currentRestoreWindowGeometry, updateRestoreWindowGeometry, pendingRestoreWindowGeometry } = useStore_RestoreWindowGeometry();
// const getRestoreWindowGeometry = () => {
// pendingRestoreWindowGeometry();
// asyncStdoutToPython("/get/data/restore_main_window_geometry");
// };
// const toggleRestoreWindowGeometry = () => {
// pendingRestoreWindowGeometry();
// if (currentRestoreWindowGeometry.data) {
// asyncStdoutToPython("/set/disable/restore_main_window_geometry");
// } else {
// asyncStdoutToPython("/set/enable/restore_main_window_geometry");
// }
// };
// return {
// currentRestoreWindowGeometry,
// getRestoreWindowGeometry,
// toggleRestoreWindowGeometry,
// updateRestoreWindowGeometry,
// };
// };

View File

@@ -32,10 +32,7 @@ const generatePropertyNames = (base_name) => ({
pending: `pending${base_name}`,
current: `current${base_name}`,
update: `update${base_name}`,
updatePart: `updatePart${base_name}`,
async_update: `asyncUpdate${base_name}`,
add: `add${base_name}`,
async_add: `asyncAdd${base_name}`,
});