We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08e227 commit 98c016dCopy full SHA for 98c016d
src/app/page.tsx
@@ -18,7 +18,7 @@ export default function Home() {
18
}
19
20
const deleteHandler = (i: number) => {
21
- let allTask = [...mainTask];
+ const allTask = [...mainTask];
22
allTask.splice(i, 1);
23
setMaintask(allTask);
24
0 commit comments