Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kyr0 committed Jan 12, 2024
1 parent 08aa5d3 commit e229bb2
Show file tree
Hide file tree
Showing 4 changed files with 1,919 additions and 1,498 deletions.
3 changes: 3 additions & 0 deletions example/todo-list/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const currentTodos = (await import('../../todos.json')).default
</p>

<script>
console.log('???')
const { createTodo } = await import('./api-client/create-todo-client')
const { removeTodo } = await import('./api-client/remove-todo-client')
const { updateTodo } = await import('./api-client/update-todo-client')
Expand All @@ -49,7 +50,9 @@ const currentTodos = (await import('../../todos.json')).default
const addBtn = document.querySelector('#add-todo-button') as HTMLButtonElement
const addInput = document.querySelector('#add-todo-input') as HTMLInputElement

console.log(addBtn)
const onAddTodo = async () => {
console.log('asdasd')
await createTodo({
isDone: false,
task: addInput.value,
Expand Down
Loading

0 comments on commit e229bb2

Please sign in to comment.