chore: tweak home style

This commit is contained in:
Steven
2024-01-12 08:08:24 +08:00
parent 1994c20c54
commit 0c52f1ee6a
7 changed files with 37 additions and 21 deletions

View File

@ -17,6 +17,10 @@ const TaskList: React.FC<Props> = ({ index, complete, children }: Props) => {
const memoStore = useMemoStore();
const handleCheckboxChange = async (on: boolean) => {
if (context.readonly || !context.memoId) {
return;
}
const nodeIndex = Number(index);
if (isNaN(nodeIndex)) {
return;