Refactor TodoItem and CreateModal to simplify state management and remove unused code
This commit is contained in:
@@ -15,7 +15,6 @@ export default function useHistory() {
|
||||
onMounted(async () => {
|
||||
store.value = await getValue('history') || []
|
||||
resetHistoryIndex()
|
||||
console.log({ s: store.value })
|
||||
})
|
||||
|
||||
const pushHistory = (item: string) => {
|
||||
|
||||
Reference in New Issue
Block a user