Skip to content

Commit

Permalink
useObserveフックの変更***
Browse files Browse the repository at this point in the history
このコミットでは、useObserveフックに対して以下の変更が行われました:
- useDatabaseフックからsaveTimeStampDb関数の呼び出しを削除しました。
  • Loading branch information
Jun-Murakami committed Apr 25, 2024
1 parent 8b18191 commit 14a95a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/useObserve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const useObserve = () => {
const showDialog = useDialogStore((state) => state.showDialog);

const { loadTreesList, loadCurrentTreeData, handleLoadedContent } = useTreeManagement();
const { saveItemsDb, saveTimeStampDb } = useDatabase();
const { saveItemsDb } = useDatabase();
const { loadSettingsFromDb, loadQuickMemoFromDb, saveQuickMemoDb } = useAppStateManagement();
const { handleError } = useError();

Expand Down Expand Up @@ -138,7 +138,6 @@ export const useObserve = () => {
value: quickMemoText,
});
} else {
saveTimeStampDb();
saveQuickMemoDb(quickMemoText);
}
} catch (error) {
Expand Down

0 comments on commit 14a95a4

Please sign in to comment.