temp remove until fixed
This commit is contained in:
parent
0e5b9aa324
commit
ed4ea1db40
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { createForm } from 'felte';
|
import { createForm } from 'felte';
|
||||||
import { account, credentials, refreshAccount } from '$lib/stores';
|
import { account, credentials, refreshAccount } from '$lib/stores';
|
||||||
import { type AccountHeir, insertHeir, removeHeir } from '$lib/api';
|
import { type AccountHeir, insertHeir, removeHeir as removeDBHeir } from '$lib/api';
|
||||||
|
|
||||||
credentials.subscribe(
|
credentials.subscribe(
|
||||||
(v) => v == null && setTimeout(() => (window.location.pathname = '/auth/login'), 200)
|
(v) => v == null && setTimeout(() => (window.location.pathname = '/auth/login'), 200)
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
let heirWizard = false;
|
let heirWizard = false;
|
||||||
|
|
||||||
const { form, errors } = createForm({
|
const { form, errors } = createForm({
|
||||||
onSubmit: async (values) => {
|
/*onSubmit: async (values) => {
|
||||||
let heir: AccountHeir = {
|
let heir: AccountHeir = {
|
||||||
contactMethod: values.contactMethod,
|
contactMethod: values.contactMethod,
|
||||||
name: values.name,
|
name: values.name,
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
return errors;
|
return errors;
|
||||||
}
|
}*/
|
||||||
});
|
});
|
||||||
|
|
||||||
async function removeHeir(heir: AccountHeir) {
|
async function removeHeir(heir: AccountHeir) {
|
||||||
|
|
Loading…
Reference in a new issue