mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix: reset error
This commit is contained in:
parent
bd075c8d5f
commit
095f354fe1
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
try {
|
||||
login = await apiCreateCandidate(data);
|
||||
dispatch('created');
|
||||
error = '';
|
||||
} catch (e: unknown) {
|
||||
console.error(e);
|
||||
error = (e as ApiError).msg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue