mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-26 18:42:16 +03:00
[docs] removes type annotation in JS code in the tutorial (#1329)
This commit is contained in:
parent
8b1d6a96ab
commit
4da36535ca
@ -153,7 +153,7 @@ const NewTaskForm = () => {
|
||||
const description = target.description.value
|
||||
target.reset()
|
||||
await createTask({ description })
|
||||
} catch (err: any) {
|
||||
} catch (err) {
|
||||
window.alert("Error: " + err.message)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user