diff --git a/src/pages/MemoList.tsx b/src/pages/MemoList.tsx
index 00c129b..92e5502 100644
--- a/src/pages/MemoList.tsx
+++ b/src/pages/MemoList.tsx
@@ -10,8 +10,8 @@ import {
Select,
MenuItem,
SelectChangeEvent,
- Switch,
- FormControlLabel
+ //Switch,
+ //FormControlLabel
} from "@mui/material";
import React from 'react';
import SearchIcon from '@mui/icons-material/Search';
@@ -187,7 +187,7 @@ export function MemoList(): JSX.Element {
};
const handleReverseToggle = () => {
- setReverseOrder(!reverseOrder);
+ setReverseOrder(prevreverseOrder => !prevreverseOrder);
setMemoList((prevList) => [...prevList].reverse());
};
@@ -270,19 +270,20 @@ export function MemoList(): JSX.Element {
Sort by:
-