MCPcopy Index your code
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / saveToLS

Function saveToLS

Video 114/src/App.jsx:22–24  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

20
21
22 const saveToLS = (params) => {
23 localStorage.setItem("todos", JSON.stringify(todos))
24 }
25
26 const toggleFinished = (e) => {
27 setshowFinished(!showFinished)

Callers 4

handleEditFunction · 0.85
handleDeleteFunction · 0.85
handleAddFunction · 0.85
handleCheckboxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected